summaryrefslogtreecommitdiff
path: root/views/admin/module.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/admin/module.phtml')
-rw-r--r--views/admin/module.phtml17
1 files changed, 16 insertions, 1 deletions
diff --git a/views/admin/module.phtml b/views/admin/module.phtml
index faa84d2..3537718 100644
--- a/views/admin/module.phtml
+++ b/views/admin/module.phtml
@@ -9,6 +9,21 @@
<div class="wpsg_admin_submenu">
<?php foreach ($this->view['groups'] as $group_name => $g) { ?>
+ <div class="list-group">
+ <span class="list-group-head list-group-item"><?php echo $group_name; ?></span>
+ <?php foreach ($g as $mod_key => $m) { ?>
+ <a class="<?php echo (($this->get_option($mod_key, $this->view['global']) > 0)?'modul_akt':''); ?> list-group-item <?php echo (($mod_key == $_REQUEST['modul'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=module&amp;modul=<?php echo $mod_key; ?>">
+ <?php echo $m->name; ?>
+ <?php if (($this->get_option($mod_key, $this->view['global']) > 0)?'modul_akt':'') { ?>
+ <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
+ <?php } ?>
+ </a>
+ <?php } ?>
+ </div>
+ <?php } ?>
+
+ <?php /* ?>
+ <?php foreach ($this->view['groups'] as $group_name => $g) { ?>
<div class="head">
<div class="title"><?php echo $group_name; ?></div>
<div style="clear:both;"></div>
@@ -20,7 +35,7 @@
<?php } ?>
</ul>
<div style="clear:both; height:10px; margin-left:0px; margin-right:8px;"></div>
- <?php } ?>
+ <?php } ?> */ ?>
</div>