diff options
Diffstat (limited to 'views/admin/index.phtml')
| -rw-r--r-- | views/admin/index.phtml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/views/admin/index.phtml b/views/admin/index.phtml new file mode 100644 index 0000000..b6594ec --- /dev/null +++ b/views/admin/index.phtml @@ -0,0 +1,43 @@ +<?php
+
+ /**
+ * Templatedatei für die Startseite/Konfiguration im Backend
+ * Normalerweise sollte hier nichts angepasst werden
+ */
+
+?>
+
+<div class="wpsg_admin">
+
+ <div class="wrap">
+ <h2><?php echo __('wpShopGermany', 'wpsg'); ?></h2>
+ </div>
+
+ <?php echo $this->writeBackendMessage(); ?>
+
+ <div class="wpsg_admin_topmenu">
+ <ul>
+ <li class="<?php echo (($this->view['actionName'] == "index")?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin"><?php echo __("Einstellungen", "wpsg"); ?></a></li>
+ <li class="<?php echo (($this->view['actionName'] == "module")?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module"><?php echo __("Module", "wpsg"); ?></a></li>
+ <?php if (current_user_can('wpsg_lizence') && $this->hasMod('wpsg_mod_core')) { ?>
+ <li class="<?php echo (($this->view['actionName'] == "registrierung")?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung"><?php echo __("Lizenzverwaltung", "wpsg"); ?></a></li>
+ <?php } ?>
+ <li class="<?php echo (($this->view['actionName'] == 'news')?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=news">
+ <?php echo __('Aktuelles', 'wpsg'); ?>
+ <?php if (wpsg_isSizedInt($wpsg_news_unread = wpsg_news::countUnreadNews())) { ?>
+ <span class="wpsg_news_unreadhint"><?php echo $wpsg_news_unread; ?></span>
+ <?php } ?>
+ </a></li>
+ <li class="<?php echo (($this->view['actionName'] == "hilfe")?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=hilfe"><?php echo __("Hilfe", "wpsg"); ?></a></li>
+ <li class="<?php echo (($this->view['actionName'] == "ueber")?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=ueber"><?php echo __("Über", "wpsg"); ?></a></li>
+ </ul>
+ </div>
+ <div style="clear:both;"></div>
+
+ <div class="wpsg_admin_wrap">
+ <?php if (wpsg_isSizedString($this->view['subTemplate'])) { ?>
+ <?php $this->render($this->view['subTemplate']); ?>
+ <?php } ?>
+ </div>
+
+</div>
\ No newline at end of file |
