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/modulelist.phtml | 141 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 views/admin/modulelist.phtml (limited to 'views/admin/modulelist.phtml') 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