From d46b9797b56ec59f77935a18b5c33c1d1d8b1be4 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 7 Sep 2017 14:14:50 +0000 Subject: - Lizenzverwaltung / Modulaktivierung git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6476 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/module.phtml | 56 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 51 insertions(+), 5 deletions(-) (limited to 'views/admin/module.phtml') diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 5ba4260..514918b 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -110,10 +110,33 @@
+
+ +
+ + +
+
+ + + +
+
+ + + +
+
+
+ +
+ +
+ - +
@@ -124,7 +147,17 @@ $modul_info) { ?> - + @@ -151,22 +190,29 @@ if ($this->hasModInstalled($modul_key) && $modul_info['version'] === $this->arAllModule[$modul_key]->version) { - echo ' ('.__('aktuell', 'wpsg').')'; + echo ' - '.__('aktuell', 'wpsg').''; } else if (version_compare($modul_info['version'], WPSG_VERSION) > 0) { - echo ' '.wpsg_translate(__('neue Version verfügbar (wpShopGermany Update notwendig)', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); + echo ' - '.__('neue Version verfügbar', 'wpsg').'
'.wpsg_translate(__('wpShopGermany Update notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); } + else if (version_compare($modul_info['version'], $this->arAllModule[$modul_key]->versio) > 0) + { + + echo ' - '.__('neue Version verfügbar', 'wpsg').'
'; + echo wpsg_translate(__('Version installieren.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key); + + } ?>
@@ -140,7 +173,13 @@ + + + + + +
- +

-- cgit v1.2.3