diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-09-08 10:05:07 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-09-08 10:05:07 +0000 |
| commit | a48b279544268da05a2260ad3de97fd5f257fa9d (patch) | |
| tree | 7e295030550359eaee0ecfcd2b5417efd5ba797c /views/admin/index.phtml | |
| parent | cb653c28aeb5929f7ec30c47c59b1180d3901c03 (diff) | |
- Lizenzverwaltung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6488 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/index.phtml')
| -rw-r--r-- | views/admin/index.phtml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/views/admin/index.phtml b/views/admin/index.phtml index dcebb2e..8926d14 100644 --- a/views/admin/index.phtml +++ b/views/admin/index.phtml @@ -4,6 +4,8 @@ * Templatedatei für die Startseite/Konfiguration im Backend
* Normalerweise sollte hier nichts angepasst werden
*/
+
+ $wpsg_update_data = wpsg_get_update_data();
?>
@@ -18,8 +20,8 @@ <ul class="nav navbar-nav">
<li role="presentation" class="<?php echo (($this->view['actionName'] == "index")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin"><?php echo __("Einstellungen", "wpsg"); ?></a></li>
<li role="presentation" class="<?php echo (($this->view['actionName'] == "module")?'active':''); ?>"><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') && is_array(wpsg_get_update_data())) { ?>
+
+ <?php if (current_user_can('wpsg_lizence') && wpsg_isSizedInt($wpsg_update_data['returnCode'])) { ?>
<li role="presentation" class="<?php echo (($this->view['actionName'] == "registrierung")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung"><?php echo __("Lizenzverwaltung", "wpsg"); ?></a></li>
<?php } ?>
@@ -38,8 +40,8 @@ </div>
</nav>
- <hr class="wp-header-end" />
-
+ <?php echo $this->writeBackendMessage(); ?>
+
<div class="wpsg_admin_wrap">
<?php if (wpsg_isSizedString($this->view['subTemplate'])) { ?>
<?php $this->render($this->view['subTemplate']); ?>
|
