From b1fa4788318985cb32045ea0ee5604cd58c2a461 Mon Sep 17 00:00:00 2001 From: Roger Rehnelt Date: Sun, 27 Sep 2026 16:36:48 +0200 Subject: Wirkungslose Optionen entfernt (K1, P7, B4, P3), WPML-Hinweis (K3), nohspc_ sichtbar (K27), Rabatt-Umschalter (B27) Co-Authored-By: Claude Opus 5.5 --- views/admin/form/checkbox.phtml | 2 +- views/admin/form/input.phtml | 2 +- views/admin/form/select.phtml | 2 +- views/admin/includes.phtml | 1 - views/admin/wpml.phtml | 91 +- views/mods/mod_discount/settings_edit.phtml | 3 +- views/mods/mod_productvariants/admin_edit.phtml | 1174 ++++++++++---------- views/mods/mod_productvariants/settings_edit.phtml | 97 +- views/mods/mod_produktartikel/settings_edit.phtml | 315 +++--- 9 files changed, 835 insertions(+), 852 deletions(-) (limited to 'views') diff --git a/views/admin/form/checkbox.phtml b/views/admin/form/checkbox.phtml index 12e184a..5dcee75 100644 --- a/views/admin/form/checkbox.phtml +++ b/views/admin/form/checkbox.phtml @@ -37,7 +37,7 @@ view['field_config']['hint'])) { ?> -
view['field_config']['hint']; ?>
+
view['field_config']['hint']); ?>
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index cad903c..60482d1 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -51,7 +51,7 @@ view['field_config']['hint'])) { ?> - view['field_config']['hint']; ?> + view['field_config']['hint']); ?> diff --git a/views/admin/form/select.phtml b/views/admin/form/select.phtml index ed142e3..d29158d 100644 --- a/views/admin/form/select.phtml +++ b/views/admin/form/select.phtml @@ -101,7 +101,7 @@ view['field_config']['hint'])) { ?> -
view['field_config']['hint']; ?>
+
view['field_config']['hint']); ?>
diff --git a/views/admin/includes.phtml b/views/admin/includes.phtml index de0f5a0..9dc5701 100644 --- a/views/admin/includes.phtml +++ b/views/admin/includes.phtml @@ -41,7 +41,6 @@
- get_option('wpsg_load_bootstrap_glyphfont_css'), array('help' => 'wpsg_load_bootstrap_glyphfont_css')); ?>
diff --git a/views/admin/wpml.phtml b/views/admin/wpml.phtml index df2c08c..efad07f 100644 --- a/views/admin/wpml.phtml +++ b/views/admin/wpml.phtml @@ -1,48 +1,43 @@ - - -
- -
- - view['arSubAction'] as $k => $v) { ?> - - -
- -
- -
-
- -
-
-

-
-
- - - true)); ?> - -
*/ ?> - -

String-Übersetzung die Übersetzung von diesen Inhalten.', '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_discount/settings_edit.phtml b/views/mods/mod_discount/settings_edit.phtml index d2b645c..248262b 100644 --- a/views/mods/mod_discount/settings_edit.phtml +++ b/views/mods/mod_discount/settings_edit.phtml @@ -44,7 +44,6 @@ view['wpsg_mod_discount']['hierarchie'] as $discount_typ) { ?>
  • - get_option('wpsg_mod_discount_hierarchie'))))?'checked="checked"':''); ?> name="wpsg_mod_discount_hierarchie[]" /> callMod('wpsg_mod_discount', 'getNameFromType', array($discount_typ)); ?>
  • @@ -201,7 +200,7 @@ function wpsg_switchUniversalDiscount() { - if (jQuery('#wpsg_mod_discount_universal').attr("checked") == "checked") + if (jQuery('#wpsg_mod_discount_universal').prop('checked')) { jQuery('#wpsg_mod_discount_universal_layer').show(); } diff --git a/views/mods/mod_productvariants/admin_edit.phtml b/views/mods/mod_productvariants/admin_edit.phtml index c68ad4f..eaeb4c3 100644 --- a/views/mods/mod_productvariants/admin_edit.phtml +++ b/views/mods/mod_productvariants/admin_edit.phtml @@ -1,591 +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 2fc3585..63c17c2 100644 --- a/views/mods/mod_productvariants/settings_edit.phtml +++ b/views/mods/mod_productvariants/settings_edit.phtml @@ -1,50 +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_replaceanr'), array('hint' => __('Ersetzt die Produktartikelnummer durch die zusammengesetzte Artikelnummern der Varianten.', 'wpsg'), 'help' => 'wpsg_vp_replaceanr')); ?> - 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 5d2eb3c..8c52414 100644 --- a/views/mods/mod_produktartikel/settings_edit.phtml +++ b/views/mods/mod_produktartikel/settings_edit.phtml @@ -1,158 +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)); ?> - -get_option('wpsg_mod_produktartikel_rating'), array('help' => 'wpsg_mod_produktartikel_rating')); ?> - -
    - - - - 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)); ?> + + + + -- cgit v1.2.3