From e9a00eb45d574802eb708db68ba404156d480999 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 7 Sep 2017 14:50:25 +0000 Subject: - Lizenzverwaltung / Modulaktivierung git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6479 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/index.phtml | 2 +- views/admin/licence.phtml | 184 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 views/admin/licence.phtml (limited to 'views/admin') diff --git a/views/admin/index.phtml b/views/admin/index.phtml index 8dbb82c..9c5ea9b 100644 --- a/views/admin/index.phtml +++ b/views/admin/index.phtml @@ -19,7 +19,7 @@ - hasMod('wpsg_mod_core')) { ?> + diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml new file mode 100644 index 0000000..f5975ca --- /dev/null +++ b/views/admin/licence.phtml @@ -0,0 +1,184 @@ + + +
+ + + + writeBackendMessage(); ?> + +
+ +
+ +
+ + + + +
+ +
+ +
+ +
+
+

+ + view['subaction'] === 'registerdata') { ?> + view['subaction'] === 'domaindata') { ?> + view['subaction'] === 'modulactivation') { ?> + +

+
+
+ + view['subaction'] === 'registerdata') { ?> + + + + view['subaction'] === 'domaindata') { ?> + + view['subaction'] === 'modulactivation') { ?> + + shop->loadModule(true); ?> + + + + + + $modul_info) { if ($modul_info['active'] !== true) unset($wpsg_update_data['modulinfo'][$modul_key]); } ?> + + + + + + + + + + + + $modul_info) { ?> + + + + + + + + +
+ + shop->hasModInstalled($modul_key)) { ?> + shop->arAllModule[$modul_key]->version; ?> + + + + + + + + + + + + + + + + + + + shop->hasModInstalled($modul_key) && $modul_info['version'] === $this->shop->arAllModule[$modul_key]->version) + { + + echo ' - '.__('aktuell', 'wpsg').''; + + } + else if (version_compare($modul_info['version'], WPSG_VERSION) > 0) + { + + 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->shop->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); + + } + + ?>
+ + + +
+ +
+ + +
+
+ + + +
+
+ + + +
+
+
+ +
+ + + +
+
+ +
+ +
+ +
-- cgit v1.2.3