From a5abf7c77ba84a3c83a1361b6845eaa5d5047f9e Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 14 Sep 2017 14:17:07 +0000 Subject: - Demo Modus / Meldunstuning git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6503 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/index.phtml | 7 ++- views/admin/laender_list.phtml | 2 - views/admin/licence.phtml | 6 +- views/admin/module.phtml | 64 ++++++++++++++-------- views/css/admin.css | 3 + views/mods/mod_customergroup/addedit.phtml | 2 - views/mods/mod_customergroup/index.phtml | 2 - views/mods/mod_export/profil.phtml | 2 - views/mods/mod_gutschein/add.phtml | 2 - views/mods/mod_gutschein/import.phtml | 1 - views/mods/mod_gutschein/index.phtml | 2 - views/mods/mod_kundenverwaltung/edit.phtml | 2 - views/mods/mod_kundenverwaltung/import.phtml | 1 - views/mods/mod_kundenverwaltung/index.phtml | 2 - views/mods/mod_productgroups/add.phtml | 2 - views/mods/mod_productgroups/index.phtml | 2 - .../order_view_sidebar_content.phtml | 1 - views/order/index.phtml | 4 +- views/order/view.phtml | 4 +- views/produkt/addedit.phtml | 6 +- views/produkt/import.phtml | 3 - views/produkt/index.phtml | 6 +- views/produkt/mapimport.phtml | 3 - 23 files changed, 60 insertions(+), 69 deletions(-) (limited to 'views') diff --git a/views/admin/index.phtml b/views/admin/index.phtml index 8926d14..fc0ecb9 100644 --- a/views/admin/index.phtml +++ b/views/admin/index.phtml @@ -39,10 +39,11 @@ - - writeBackendMessage(); ?> - +
+ +

+ view['subTemplate'])) { ?> render($this->view['subTemplate']); ?> diff --git a/views/admin/laender_list.phtml b/views/admin/laender_list.phtml index dd0e8fb..09a1b07 100644 --- a/views/admin/laender_list.phtml +++ b/views/admin/laender_list.phtml @@ -4,8 +4,6 @@ ?> -writeBackendMessage(true); ?> - view['data'])) { ?> diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index 2577736..e62d772 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -40,10 +40,10 @@ - - writeBackendMessage(); ?> - +
+ +

diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 2564940..4cc4c6a 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -44,31 +44,35 @@

arAllModule[$_REQUEST['modul']]->desc; ?>


- get_option($_REQUEST['modul'], $this->view['global']); ?> - __('Nein', 'wpsg'), '1' => __('Ja', 'wpsg')), ((wpsg_isSizedInt($modul_install))?'1':'0')); ?> + + + get_option($_REQUEST['modul'], $this->view['global']); ?> + __('Nein', 'wpsg'), '1' => __('Ja', 'wpsg')), ((wpsg_isSizedInt($modul_install))?'1':'0')); ?> + + arAllModule[$_REQUEST['modul']]->version)) { ?> arAllModule[$_REQUEST['modul']]->version; if (wpsg_isSizedArray($modul_info[$_REQUEST['modul']])) { $modul_info_modul = $modul_info[$_REQUEST['modul']]; - - if ($modul_info_modul['version'] === $this->shop->arAllModule[$_REQUEST['modul']]->version) + + if ($modul_info_modul['version'] === $this->arAllModule[$_REQUEST['modul']]->version) { echo ' - '.__('aktuell', 'wpsg').''; @@ -80,18 +84,13 @@ 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_modul['version'], $this->shop->arAllModule[$_REQUEST['modul']]->versio) > 0) + else if (version_compare($modul_info_modul['version'], $this->arAllModule[$_REQUEST['modul']]->versio) > 0) { echo ' - '.__('neue Version verfügbar', 'wpsg').''; - if ($modul_info_modul['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='.$_REQUEST['modul']); - - } + echo '
'; + echo wpsg_translate(__('Version installieren.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$_REQUEST['modul']); } @@ -110,7 +109,12 @@ - + + + + + + [ ] @@ -119,6 +123,12 @@ [ ] + +
+ + [ ] + + @@ -126,12 +136,13 @@ - -
- + - arAllModule[$_REQUEST['modul']]->version) || ((wpsg_isTrue($this->arAllModule[$_REQUEST['modul']]->free) || 1))) { ?> + arAllModule[$_REQUEST['modul']]->version) || (@$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['demo_active'] === true || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['active'] === true || $wpsg_update_data['modulinfo'][$_REQUEST['modul']]['free'] === true)) { ?> + +
+ arAllModule[$_REQUEST['modul']]->inline === true) { ?>

@@ -149,8 +160,13 @@ arAllModule[$_REQUEST['modul']]->inline !== true) { ?>

+ -

+ + +

+ + arAllModule[$_REQUEST['modul']]->inline !== true) { ?> @@ -285,7 +301,7 @@

- Lizenz aktivieren +

diff --git a/views/css/admin.css b/views/css/admin.css index 5e7d80e..447e6e7 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -38,6 +38,7 @@ #wpsg-bs .wpsg-glyphlink-td > span { margin-left:5px; margin-top:5px; } #wpsg-bs .wpsg-glyphlink-td:hover { text-decoration:none; } #wpsg-bs .wpsg_message_ok { color:green; } +#wpsg-bs .wpsg_message_demo { color:blue; } #wpsg-bs .wpsg_error { color:red; } #wpsg-bs .form-group-sm .form-control { padding-left:8px; } #wpsg-bs .form-group-text { position:relative; } @@ -59,6 +60,8 @@ #wpsg-bs .wpsg-bs-toggle-nav { float:right; line-height:50px; font-size:25px; text-decoration:none; } #wspg-bs #message, #wpsg-bs .wpsg_banner { margin-right:20px; } +#wpsg-bs .wpsg-wp-header-end { margin-top:-10px !important; } +#wpsg-bs .wpsg_msg_wrap { margin-right:20px; } /* Allgemeine Klassen */ .wpsg_grey { color:#999999; } diff --git a/views/mods/mod_customergroup/addedit.phtml b/views/mods/mod_customergroup/addedit.phtml index 275b571..e1fa844 100644 --- a/views/mods/mod_customergroup/addedit.phtml +++ b/views/mods/mod_customergroup/addedit.phtml @@ -28,8 +28,6 @@
- writeBackendMessage(); ?> -
diff --git a/views/mods/mod_customergroup/index.phtml b/views/mods/mod_customergroup/index.phtml index 2fe5306..71ffcf8 100644 --- a/views/mods/mod_customergroup/index.phtml +++ b/views/mods/mod_customergroup/index.phtml @@ -65,8 +65,6 @@
- writeBackendMessage(); ?> -
view['arData']) && sizeof($this->view['arData']) > 0) { ?> diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index d3cef88..2e3a924 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -10,8 +10,6 @@ ?> -writeBackendMessage(); ?> -