From 8916fd40e2a1475cd92607f4ff40178798e9304e Mon Sep 17 00:00:00 2001 From: jlbeer Date: Tue, 15 Sep 2026 13:19:51 +0200 Subject: - Deprecated "version" Fehler behoben - Kampagnen Fehler mit Bestellstatus behoben --- views/admin/modulelist.phtml | 10 ++-- views/mods/mod_campaigns/campaign_addedit.phtml | 32 +++++++++- views/mods/mod_campaigns/conditions_fields.phtml | 5 +- views/mods/mod_campaigns/template_addedit.phtml | 75 +++++++++++++++++++++++- 4 files changed, 113 insertions(+), 9 deletions(-) (limited to 'views') diff --git a/views/admin/modulelist.phtml b/views/admin/modulelist.phtml index 537ff78..9704987 100644 --- a/views/admin/modulelist.phtml +++ b/views/admin/modulelist.phtml @@ -38,6 +38,8 @@ $modul_info) { ?> + vor PHP-8-Warnungen und version_compare()-Deprecations schuetzen. */ ?> + shop->hasModInstalled($modul_key) ? ($this->shop->arAllModule[$modul_key]->version ?? '') : ''); ?> '.__('aktuell', 'wpsg').''; @@ -127,7 +129,7 @@ echo ' - '.__('neue Version verfügbar', 'wpsg').'
'.wpsg_translate(__('wpShopGermany Update notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); } - else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->version) > 0) + else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_info['version'], $modul_version_installed) > 0) { echo ' - '.__('neue Version verfügbar', 'wpsg').''; diff --git a/views/mods/mod_campaigns/campaign_addedit.phtml b/views/mods/mod_campaigns/campaign_addedit.phtml index 538d663..69d6fb2 100644 --- a/views/mods/mod_campaigns/campaign_addedit.phtml +++ b/views/mods/mod_campaigns/campaign_addedit.phtml @@ -69,7 +69,7 @@ - @@ -212,3 +212,33 @@ + diff --git a/views/mods/mod_campaigns/conditions_fields.phtml b/views/mods/mod_campaigns/conditions_fields.phtml index 25c8379..66f1ae1 100644 --- a/views/mods/mod_campaigns/conditions_fields.phtml +++ b/views/mods/mod_campaigns/conditions_fields.phtml @@ -22,7 +22,10 @@ ?>

-

+ +


-

+

style="display:none;">
- disabled="disabled"> $productName) { ?> @@ -98,12 +101,35 @@ () - +

+

style="display:none;"> +
+ + +

+

style="display:none;"> +
+ + +

@@ -149,3 +175,46 @@ + -- cgit v1.2.3