diff options
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/index.phtml | 2 | ||||
| -rw-r--r-- | views/admin/konfiguration.phtml | 2 | ||||
| -rw-r--r-- | views/admin/module.phtml | 17 |
3 files changed, 18 insertions, 3 deletions
diff --git a/views/admin/index.phtml b/views/admin/index.phtml index 5633453..848da7f 100644 --- a/views/admin/index.phtml +++ b/views/admin/index.phtml @@ -4,7 +4,7 @@ * Templatedatei für die Startseite/Konfiguration im Backend
* Normalerweise sollte hier nichts angepasst werden
*/
-
+
?>
<div class="wpsg_admin" id="wpsg-bs">
diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml index e65a944..2febb89 100644 --- a/views/admin/konfiguration.phtml +++ b/views/admin/konfiguration.phtml @@ -8,7 +8,7 @@ <div class="wpsg_admin_submenu">
<div class="list-group">
- <span class="list-group-head list-group-item">asdasd</span>
+ <span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
<a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
<?php } ?>
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&action=module&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>
|
