From 0211d21e5cd3e94e215d36db65cc64a44421dc4c Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Wed, 20 Sep 2017 11:47:12 +0000 Subject: - Modulaktivierung ausblenden, wenn falscher Key git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6526 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/licence.phtml | 83 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 81 insertions(+), 2 deletions(-) (limited to 'views/admin/licence.phtml') diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index 98fc279..37828c2 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -29,7 +29,7 @@ @@ -182,7 +182,86 @@
- + + + + $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').''; + + 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); + + } + + } + + ?>
+ + -- cgit v1.2.3