summaryrefslogtreecommitdiff
path: root/views/mods/mod_discount/settings_edit.phtml
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-09-27 16:36:48 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-09-27 16:36:48 +0200
commitb1fa4788318985cb32045ea0ee5604cd58c2a461 (patch)
treed9e6640a835be6cd5011b4e69068f5bc5479beda /views/mods/mod_discount/settings_edit.phtml
parent5384d5c78d1f7bcdbe15093034e41f88224e8465 (diff)
Wirkungslose Optionen entfernt (K1, P7, B4, P3), WPML-Hinweis (K3), nohspc_ sichtbar (K27), Rabatt-Umschalter (B27)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/mods/mod_discount/settings_edit.phtml')
-rw-r--r--views/mods/mod_discount/settings_edit.phtml3
1 files changed, 1 insertions, 2 deletions
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 @@
<?php foreach ($this->view['wpsg_mod_discount']['hierarchie'] as $discount_typ) { ?>
<li class="<?php echo $discount_typ; ?>">
<input type="hidden" name="wpsg_mod_discount_hierarchie[]" value="<?php echo $discount_typ; ?>" />
- <input type="checkbox" value="<?php echo $discount_typ; ?>" <?php echo ((in_array($discount_typ, (array)explode(',', $this->get_option('wpsg_mod_discount_hierarchie'))))?'checked="checked"':''); ?> name="wpsg_mod_discount_hierarchie[]" />
<?php echo $this->callMod('wpsg_mod_discount', 'getNameFromType', array($discount_typ)); ?>
</li>
<?php } ?>
@@ -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();
}