summaryrefslogtreecommitdiff
path: root/views/admin/index.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
commitad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch)
treeb41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/admin/index.phtml
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/index.phtml')
-rw-r--r--views/admin/index.phtml43
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&amp;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&amp;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&amp;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&amp;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