From b8a6622d79c99688325955e9af25c2e17e802843 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 8 Sep 2017 09:03:43 +0000 Subject: - Lizenzverwaltung git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6484 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/licence.phtml | 155 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 123 insertions(+), 32 deletions(-) (limited to 'views/admin/licence.phtml') diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index f5975ca..b4fbec5 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -4,6 +4,10 @@ * Template für die Lizenzverwaltung */ + $wpsg_update_data = wpsg_get_update_data(); + + if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence')) die(); + ?>
@@ -18,7 +22,7 @@ - + @@ -38,7 +42,7 @@ writeBackendMessage(); ?> - +
@@ -68,15 +72,116 @@ view['subaction'] === 'registerdata') { ?> - +
+ + + + + + + +
+ + + + + + + + __('Deutschland', 'wpsg'), + '2' => __('Österreich', 'wpsg'), + '3' => __('Schweiz', 'wpsg'), + '4' => __('Niederlande', 'wpsg'), + '5' => __('Belgien', 'wpsg') + ), $wpsg_update_data['registerData']['country']); ?> + + +
+ + + +
view['subaction'] === 'domaindata') { ?> - + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +

+ + + +
+ + + +

+ +
+ + + + + +

+ + + +

+ + + view['subaction'] === 'modulactivation') { ?> shop->loadModule(true); ?> + +
+ +
+ +
+
+ + + +
+
+ + + +
+
+
+ +
+ +
+ @@ -86,7 +191,7 @@ - + @@ -111,9 +216,9 @@ - + - + @@ -138,9 +243,16 @@ 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); - + echo ' - '.__('neue Version verfügbar', 'wpsg').''; + + if ($modul_info['active'] === true) + { + + echo '
'; + 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); + + } + } ?> @@ -150,28 +262,7 @@ - -
- -
- - -
-
- - - -
-
- - - -
-
-
- -
- +
-- cgit v1.2.3