From 5a105225e3e9fee02255f735f6a70b8e00ba34a7 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Wed, 20 Sep 2017 09:30:45 +0000 Subject: - Download der Pakete aus Base - Modulverwaltung git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6522 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/licence.phtml | 81 +------------------------ views/admin/module.phtml | 109 ++++----------------------------- views/admin/modulelist.phtml | 141 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 155 insertions(+), 176 deletions(-) create mode 100644 views/admin/modulelist.phtml (limited to 'views/admin') diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index 204bb47..98fc279 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -182,86 +182,7 @@
- - - - $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); - - } - - } - - ?>
- - + diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 4b790ed..dc502d5 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -116,6 +116,7 @@ + bLicence === true) { ?> [ ] @@ -128,6 +129,9 @@ [ ] + +
+ @@ -188,6 +192,7 @@
+ bLicence === true) { ?>
@@ -208,107 +213,19 @@
+ + +

+ +


- - - - - - - - - - - - - - $modul_info) { ?> - - - - - - - - -
- - hasModInstalled($modul_key)) { ?> - arAllModule[$modul_key]->version; ?> - - - - - - - - - - - - - - - - - - - hasModInstalled($modul_key) && $modul_info['version'] === $this->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->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); - - } - - } - - ?>
- - - -

- -

- - - + +
- + diff --git a/views/admin/modulelist.phtml b/views/admin/modulelist.phtml new file mode 100644 index 0000000..1dfb6a1 --- /dev/null +++ b/views/admin/modulelist.phtml @@ -0,0 +1,141 @@ +shop = &$this; + + } + else + { + + $source = 'licence'; + + } + +?> + + + + $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)) { ?> + +
+ + Version installieren', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source='.$source); ?> + + Demo installieren', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source='.$source); ?> + + + + +
shop->arAllModule[$modul_key]->version) < 0) + { + + echo $modul_info['version_latest']; + + echo ' - '.__('neue Version verfügbar', 'wpsg').''; + 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.'&source='.$source); + + echo '

'; + + } + + echo $modul_info['version']; + + if ($this->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]->version) > 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.'&source='.$source); + + } + + } + + ?>
+ + + +

+ + + + + + -- cgit v1.2.3