From 6a8746ceefdbd8410805603a3025107d4dc7b70f Mon Sep 17 00:00:00 2001 From: Roger Rehnelt Date: Sun, 27 Sep 2026 16:56:01 +0200 Subject: Zeilenenden (CRLF) wiederhergestellt Co-Authored-By: Claude Opus 5.5 --- views/admin/wpml.phtml | 86 +- views/mods/mod_onepagecheckout/settings_edit.phtml | 28 +- views/mods/mod_productvariants/admin_edit.phtml | 1166 ++++++++++---------- views/mods/mod_productvariants/settings_edit.phtml | 96 +- views/mods/mod_produktartikel/settings_edit.phtml | 314 +++--- views/mods/mod_stock/stockmail.phtml | 74 +- views/mods/mod_stock/stockmail_html.phtml | 78 +- 7 files changed, 921 insertions(+), 921 deletions(-) diff --git a/views/admin/wpml.phtml b/views/admin/wpml.phtml index efad07f..d48042b 100644 --- a/views/admin/wpml.phtml +++ b/views/admin/wpml.phtml @@ -1,43 +1,43 @@ - - -
- -
- - view['arSubAction'] as $k => $v) { ?> - - -
- -
- -
-
- -
-
-

-
-
- -

String-Übersetzung. Zuvor automatisch angelegte Einträge werden dabei samt Übersetzung ersetzt.', 'wpsg'); ?>

- - - -
-
- -
-
- - + + +
+ +
+ + view['arSubAction'] as $k => $v) { ?> + + +
+ +
+ +
+
+ +
+
+

+
+
+ +

String-Übersetzung. Zuvor automatisch angelegte Einträge werden dabei samt Übersetzung ersetzt.', 'wpsg'); ?>

+ + + +
+
+ +
+
+ + diff --git a/views/mods/mod_onepagecheckout/settings_edit.phtml b/views/mods/mod_onepagecheckout/settings_edit.phtml index 3ef2c4c..483338b 100644 --- a/views/mods/mod_onepagecheckout/settings_edit.phtml +++ b/views/mods/mod_onepagecheckout/settings_edit.phtml @@ -1,14 +1,14 @@ -view['wpsg_mod_onepagecheckout']['url_smartcheckout']; - -?> -
-

-

-

-
+view['wpsg_mod_onepagecheckout']['url_smartcheckout']; + +?> +
+

+

+

+
diff --git a/views/mods/mod_productvariants/admin_edit.phtml b/views/mods/mod_productvariants/admin_edit.phtml index eaeb4c3..aaa0a7d 100644 --- a/views/mods/mod_productvariants/admin_edit.phtml +++ b/views/mods/mod_productvariants/admin_edit.phtml @@ -1,583 +1,583 @@ - - - - - - - -view['arVariation'])) { ?> - - - - - - view['product_id'])) { ?> - - - - - - - - - view['product_id'])) { $colspan += 2; ?> - - - - hasMod('wpsg_mod_stock')) { ?> - - - - - hasMod('wpsg_mod_weight')) { ?> - - - - hasMod('wpsg_mod_fuellmenge')) { ?> - - - - - - view['product_id']) || wpsg_isSizedInt($this->view['variant']['product_id'])) { $colspan ++; ?> - - - - - - view['arVariation'] as $vari) { $i ++; - - $vari_id = intval($vari['id']); - - ?> - - - - view['product_id'])) { ?> - - - - - - - - view['product_id'])) { ?> - - - - hasMod('wpsg_mod_stock')) { ?> - - - - - hasMod('wpsg_mod_weight')) { ?> - - - hasMod('wpsg_mod_fuellmenge')) { ?> - - - - - - view['product_id']) || wpsg_isSizedInt($this->view['variant']['product_id'])) { ?> - - - - - - - - view['product_id'])) { - - $global_images = wpsg_explode(',', $this->db->fetchOne("SELECT `images` FROM `".WPSG_TBL_VARIANTS_VARI."` WHERE `id` = '".wpsg_q($vari['id'])."' ")); - - if (wpsg_isSizedArray($global_images)) { - - $arAttachmentIDs = $global_images; - $has_global_images = true; - - } else $arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true, false); - - } else { - - $arAttachmentIDs = $vari['images']; - - } - - ?> - - - - - - - -
- /> - - - - - - - get_option('wpsg_currency'))); ?> - - - -
  - -
- - - - view['product_id'])) { ?> -
- - - -
- - -
- - hasMod('wpsg_mod_downloadplus')) { ?> -
- - callMod('wpsg_mod_downloadplus', 'getTemplate', []); - $arTemplatesLabel = [ - 0 => __('Unverändert', 'wpsg') - ]; - - foreach ($arTemplates as $t) $arTemplatesLabel[intval($t['id'])] = $t['name']; - - ?> - - 0 && isset($arTemplatesLabel[$template_id])) echo $arTemplatesLabel[$template_id]; - else __('Unverändert', 'wpsg'); - - ?> - - - - view['product_id']) <= 0) { ?> - - - - / - - - - -
- - - view['product_id'])) { ?> -
- EAN: - - - -
- - - - -
- - - - view['product_id'])) { ?> -

- - - - - - - - - - + + + + + + + +view['arVariation'])) { ?> + + + + + + view['product_id'])) { ?> + + + + + + + + + view['product_id'])) { $colspan += 2; ?> + + + + hasMod('wpsg_mod_stock')) { ?> + + + + + hasMod('wpsg_mod_weight')) { ?> + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + + + + + + view['product_id']) || wpsg_isSizedInt($this->view['variant']['product_id'])) { $colspan ++; ?> + + + + + + view['arVariation'] as $vari) { $i ++; + + $vari_id = intval($vari['id']); + + ?> + + + + view['product_id'])) { ?> + + + + + + + + view['product_id'])) { ?> + + + + hasMod('wpsg_mod_stock')) { ?> + + + + + hasMod('wpsg_mod_weight')) { ?> + + + hasMod('wpsg_mod_fuellmenge')) { ?> + + + + + + view['product_id']) || wpsg_isSizedInt($this->view['variant']['product_id'])) { ?> + + + + + + + + view['product_id'])) { + + $global_images = wpsg_explode(',', $this->db->fetchOne("SELECT `images` FROM `".WPSG_TBL_VARIANTS_VARI."` WHERE `id` = '".wpsg_q($vari['id'])."' ")); + + if (wpsg_isSizedArray($global_images)) { + + $arAttachmentIDs = $global_images; + $has_global_images = true; + + } else $arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true, false); + + } else { + + $arAttachmentIDs = $vari['images']; + + } + + ?> + + + + + + + +
+ /> + + + + + + + get_option('wpsg_currency'))); ?> + + + +
  + +
+ + + + view['product_id'])) { ?> +
+ + + +
+ + +
+ + hasMod('wpsg_mod_downloadplus')) { ?> +
+ + callMod('wpsg_mod_downloadplus', 'getTemplate', []); + $arTemplatesLabel = [ + 0 => __('Unverändert', 'wpsg') + ]; + + foreach ($arTemplates as $t) $arTemplatesLabel[intval($t['id'])] = $t['name']; + + ?> + + 0 && isset($arTemplatesLabel[$template_id])) echo $arTemplatesLabel[$template_id]; + else __('Unverändert', 'wpsg'); + + ?> + + + + view['product_id']) <= 0) { ?> + + + + / + + + + +
+ + + view['product_id'])) { ?> +
+ EAN: + + + +
+ + + + +
+ + + + view['product_id'])) { ?> +

+ + + + + + + + + + diff --git a/views/mods/mod_productvariants/settings_edit.phtml b/views/mods/mod_productvariants/settings_edit.phtml index 63c17c2..d516a57 100644 --- a/views/mods/mod_productvariants/settings_edit.phtml +++ b/views/mods/mod_productvariants/settings_edit.phtml @@ -1,49 +1,49 @@ - - -
- -
- -
-
- view['wpsg_mod_productvariants']['html']; ?> -
-
- - get_option('wpsg_mod_productvariants_price')); ?> - get_option('wpsg_vp_detailview'), array('help' => 'wpsg_vp_detailview')); ?> - get_option('wpsg_vp_product_stock_nocalc'), [ - 'hint' => __('Ist diese Option aktiv, so bildet sich der Bestand im Produkt bei Variantenprodukten nicht aus den Varianten neu sondern wird einfach reduziert.', 'wpsg'), 'help' => 'wpsg_vp_product_stock_nocalc' - ]); ?> - - get_option('wpsg_vp_product_stock_varinotchange'), [ - 'hint' => __('Ist diese Option aktiv, so wird bei Kauf der Bestand in den Varianten nicht verringert.', 'wpsg'), 'help' => 'wpsg_vp_product_stock_varinotchange' - ]); ?> - - get_option('wpsg_vp_product_stock_display'), [ - 'hint' => __('Ist diese Option aktiv, so wird nur der Produktbestand im Produkttemplate (Frontend) angezeigt.', 'wpsg'), 'help' => 'wpsg_vp_product_stock_display' - ]); ?> - -
-
- - - + + +
+ +
+ +
+
+ view['wpsg_mod_productvariants']['html']; ?> +
+
+ + get_option('wpsg_mod_productvariants_price')); ?> + get_option('wpsg_vp_detailview'), array('help' => 'wpsg_vp_detailview')); ?> + get_option('wpsg_vp_product_stock_nocalc'), [ + 'hint' => __('Ist diese Option aktiv, so bildet sich der Bestand im Produkt bei Variantenprodukten nicht aus den Varianten neu sondern wird einfach reduziert.', 'wpsg'), 'help' => 'wpsg_vp_product_stock_nocalc' + ]); ?> + + get_option('wpsg_vp_product_stock_varinotchange'), [ + 'hint' => __('Ist diese Option aktiv, so wird bei Kauf der Bestand in den Varianten nicht verringert.', 'wpsg'), 'help' => 'wpsg_vp_product_stock_varinotchange' + ]); ?> + + get_option('wpsg_vp_product_stock_display'), [ + 'hint' => __('Ist diese Option aktiv, so wird nur der Produktbestand im Produkttemplate (Frontend) angezeigt.', 'wpsg'), 'help' => 'wpsg_vp_product_stock_display' + ]); ?> + +
+
+ + + \ No newline at end of file diff --git a/views/mods/mod_produktartikel/settings_edit.phtml b/views/mods/mod_produktartikel/settings_edit.phtml index 8c52414..b97485d 100644 --- a/views/mods/mod_produktartikel/settings_edit.phtml +++ b/views/mods/mod_produktartikel/settings_edit.phtml @@ -1,157 +1,157 @@ - - -get_option('wpsg_mod_produktartikel_pathkey'), array('maxlength' => 20, 'help' => 'wpsg_mod_produktartikel_pathkey')); ?> -get_option('wpsg_mod_produktartikel_pathkey_cat'), array('maxlength' => 20, 'help' => 'wpsg_mod_produktartikel_pathkey_cat')); ?> - -get_option('wpsg_mod_produktartikel_showui'), array('help' => 'wpsg_mod_produktartikel_showui'))?> - -get_option('wpsg_mod_produktartikel_postthumbnail'), array('help' => 'wpsg_mod_produktartikel_postthumbnail')); ?> - -get_option('wpsg_mod_produktartikel_showHome'), array('help' => 'wpsg_mod_produktartikel_showHome')); ?> -get_option('wpsg_mod_produktartikel_showCategory'), array('help' => 'wpsg_mod_produktartikel_showCategory')); ?> -get_option('wpsg_mod_produktartikel_showSearch'), array('help' => 'wpsg_mod_produktartikel_showSearch')); ?> -get_option('wpsg_mod_produktartikel_showFeed'), array('help' => 'wpsg_mod_produktartikel_showFeed')); ?> -get_option('wpsg_mod_produktartikel_onlyMainQuery'), array('help' => 'wpsg_mod_produktartikel_onlyMainQuery')); ?> - -
- -get_option('wpsg_mod_produktartikel_cat'), array('help' => 'wpsg_mod_produktartikel_cat')); ?> -
- get_option('wpsg_mod_produktartikel_cat_first_level'), array('help' => 'wpsg_mod_produktartikel_cat_first_level')); ?> - get_option('wpsg_mod_produktartikel_cat_ignore'), ['help' => 'wpsg_mod_produktartikel_cat_ignore']); ?> -
- - - -
- -get_option('wpsg_mod_produktartikel_positionnumber'), array('help' => 'wpsg_mod_produktartikel_positionnumber')); */ ?> - -
- - __('Produktspezifisch', 'wpsg'), - '1' => __('Global aktiviert', 'wpsg'), - '2' => __('Global deaktiviert', 'wpsg') -), $this->get_option('wpsg_mod_produktartikel_comment')); ?> - -view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> - 'wpsg_error')); ?> - - __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']), wpsg_getStr($this->get_option('wpsg_mod_produktartikel_hometemplate')), array('help' => 'mod_produktartikel_hometemplate', 'noKeys1' => true)); ?> - - -view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> - 'wpsg_error')); ?> - - __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']), wpsg_getStr($this->get_option('wpsg_mod_produktartikel_listtemplate')), array('help' => 'mod_produktartikel_listtemplate', 'noKeys1' => true)); ?> - - -view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> - 'wpsg_error')); ?> - - __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']), wpsg_getStr($this->get_option('wpsg_mod_produktartikel_searchtemplate')), array('help' => 'mod_produktartikel_searchtemplate', 'noKeys1' => true)); ?> - - -
- - - - view['ToRebuild']['product_ids']; ?> - view['ToRebuild']['product_ids']) / $this->view['ToRebuild']['max']); - - ?> - - -

- -
-
- % -
-
-
- - -

- -

- - true)); ?> - - - - + + +get_option('wpsg_mod_produktartikel_pathkey'), array('maxlength' => 20, 'help' => 'wpsg_mod_produktartikel_pathkey')); ?> +get_option('wpsg_mod_produktartikel_pathkey_cat'), array('maxlength' => 20, 'help' => 'wpsg_mod_produktartikel_pathkey_cat')); ?> + +get_option('wpsg_mod_produktartikel_showui'), array('help' => 'wpsg_mod_produktartikel_showui'))?> + +get_option('wpsg_mod_produktartikel_postthumbnail'), array('help' => 'wpsg_mod_produktartikel_postthumbnail')); ?> + +get_option('wpsg_mod_produktartikel_showHome'), array('help' => 'wpsg_mod_produktartikel_showHome')); ?> +get_option('wpsg_mod_produktartikel_showCategory'), array('help' => 'wpsg_mod_produktartikel_showCategory')); ?> +get_option('wpsg_mod_produktartikel_showSearch'), array('help' => 'wpsg_mod_produktartikel_showSearch')); ?> +get_option('wpsg_mod_produktartikel_showFeed'), array('help' => 'wpsg_mod_produktartikel_showFeed')); ?> +get_option('wpsg_mod_produktartikel_onlyMainQuery'), array('help' => 'wpsg_mod_produktartikel_onlyMainQuery')); ?> + +
+ +get_option('wpsg_mod_produktartikel_cat'), array('help' => 'wpsg_mod_produktartikel_cat')); ?> +
+ get_option('wpsg_mod_produktartikel_cat_first_level'), array('help' => 'wpsg_mod_produktartikel_cat_first_level')); ?> + get_option('wpsg_mod_produktartikel_cat_ignore'), ['help' => 'wpsg_mod_produktartikel_cat_ignore']); ?> +
+ + + +
+ +get_option('wpsg_mod_produktartikel_positionnumber'), array('help' => 'wpsg_mod_produktartikel_positionnumber')); */ ?> + +
+ + __('Produktspezifisch', 'wpsg'), + '1' => __('Global aktiviert', 'wpsg'), + '2' => __('Global deaktiviert', 'wpsg') +), $this->get_option('wpsg_mod_produktartikel_comment')); ?> + +view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> + 'wpsg_error')); ?> + + __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']), wpsg_getStr($this->get_option('wpsg_mod_produktartikel_hometemplate')), array('help' => 'mod_produktartikel_hometemplate', 'noKeys1' => true)); ?> + + +view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> + 'wpsg_error')); ?> + + __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']), wpsg_getStr($this->get_option('wpsg_mod_produktartikel_listtemplate')), array('help' => 'mod_produktartikel_listtemplate', 'noKeys1' => true)); ?> + + +view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> + 'wpsg_error')); ?> + + __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']), wpsg_getStr($this->get_option('wpsg_mod_produktartikel_searchtemplate')), array('help' => 'mod_produktartikel_searchtemplate', 'noKeys1' => true)); ?> + + +
+ + + + view['ToRebuild']['product_ids']; ?> + view['ToRebuild']['product_ids']) / $this->view['ToRebuild']['max']); + + ?> + + +

+ +
+
+ % +
+
+
+ + +

+ +

+ + true)); ?> + + + + diff --git a/views/mods/mod_stock/stockmail.phtml b/views/mods/mod_stock/stockmail.phtml index bf0a240..ff6863a 100644 --- a/views/mods/mod_stock/stockmail.phtml +++ b/views/mods/mod_stock/stockmail.phtml @@ -1,38 +1,38 @@ -htmlMail = false; - -?>view['wpsg_mod_stock']['stockmail']['admin_name']??'').','; ?> - -view['wpsg_mod_stock']['stockmail']['product']??[]; - echo "\r\n"; - echo __('Produkt', 'wpsg').': '.($p['id']??'').' '.($p['name']??''); - - } -?> - - - +htmlMail = false; + +?>view['wpsg_mod_stock']['stockmail']['admin_name']??'').','; ?> + +view['wpsg_mod_stock']['stockmail']['product']??[]; + echo "\r\n"; + echo __('Produkt', 'wpsg').': '.($p['id']??'').' '.($p['name']??''); + + } +?> + + + get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_stock/stockmail_html.phtml b/views/mods/mod_stock/stockmail_html.phtml index 0663d11..0a3c19d 100644 --- a/views/mods/mod_stock/stockmail_html.phtml +++ b/views/mods/mod_stock/stockmail_html.phtml @@ -1,40 +1,40 @@ -htmlMail = true; - - include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml'); - -?> - -

view['wpsg_mod_stock']['stockmail']['admin_name']??'').','; ?>

- -'; - echo __("Produkt", 'wpsg').': '.$GLOBALS['stockemail_prodvariant']['produkt']['id'].' '.$GLOBALS['stockemail_prodvariant']['produkt']['name'].' '; - echo '
'; - echo __("Produktvariation", 'wpsg').': '.$GLOBALS['stockemail_prodvariant']['variant']['id'].' '.$GLOBALS['stockemail_prodvariant']['variant']['name']; - - } - else - { - - echo wpsg_translate(__('Ein Produkt hat das Erreichen des minimalen Lagerbestand am #1# um #2# Uhr gemeldet.', 'wpsg'), date('d.m.Y'), date('H:i')); - echo ('
'); - $p = $this->view['wpsg_mod_stock']['stockmail']['product']??[]; - echo '
'; - echo __('Produkt', 'wpsg').': '.($p['id']??'').' '.($p['name']??''); - - } -?> - -

- +htmlMail = true; + + include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml'); + +?> + +

view['wpsg_mod_stock']['stockmail']['admin_name']??'').','; ?>

+ +'; + echo __("Produkt", 'wpsg').': '.$GLOBALS['stockemail_prodvariant']['produkt']['id'].' '.$GLOBALS['stockemail_prodvariant']['produkt']['name'].' '; + echo '
'; + echo __("Produktvariation", 'wpsg').': '.$GLOBALS['stockemail_prodvariant']['variant']['id'].' '.$GLOBALS['stockemail_prodvariant']['variant']['name']; + + } + else + { + + echo wpsg_translate(__('Ein Produkt hat das Erreichen des minimalen Lagerbestand am #1# um #2# Uhr gemeldet.', 'wpsg'), date('d.m.Y'), date('H:i')); + echo ('
'); + $p = $this->view['wpsg_mod_stock']['stockmail']['product']??[]; + echo '
'; + echo __('Produkt', 'wpsg').': '.($p['id']??'').' '.($p['name']??''); + + } +?> + +

+

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file -- cgit v1.2.3