summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/mods/mod_productindex/layouts/grid.phtml6
-rw-r--r--views/mods/mod_productindex/layouts/list.phtml6
2 files changed, 6 insertions, 6 deletions
diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml
index bf43c7c..f3839d0 100644
--- a/views/mods/mod_productindex/layouts/grid.phtml
+++ b/views/mods/mod_productindex/layouts/grid.phtml
@@ -144,7 +144,7 @@
<?php } ?>
<?php if ($this->get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?>
<div class="wpsg_produkt_preishinweis">
- <?php echo wpsg_translate(__('#2# zzgl. #1#', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>', '<a href="#kkhint" title="'.wpsg_hspc($this->get_option('wpsg_kleinunternehmer_text')).'">Endpreis</a>'); ?>
+ <?php echo wpsg_translate(__('#2# zzgl. #1#', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>', '<a href="#kkhint">'.esc_html__('Endpreis', 'wpsg').'</a>'); ?>
</div>
<?php } else { /* Kleinunternehmerregelung aktiviert ENDE */ ?>
<div class="wpsg_produkt_preishinweis">
@@ -240,8 +240,8 @@
</div>
<?php if ($this->get_option('wpsg_kleinunternehmer')) { ?>
- <a name="kkhint"></a>
- <div class="wpsg_mod_productindex_kuhint"><?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?></div>
+ <?php /* Ziel des Links „Endpreis“; der title-Text erreichte Tastatur und Screenreader nicht (P31) */ ?>
+ <div class="wpsg_mod_productindex_kuhint" id="kkhint"><?php echo wp_kses_post((string)$this->get_option('wpsg_kleinunternehmer_text')); ?></div>
<?php } ?>
</div>
diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml
index 9bac616..c27ee69 100644
--- a/views/mods/mod_productindex/layouts/list.phtml
+++ b/views/mods/mod_productindex/layouts/list.phtml
@@ -155,7 +155,7 @@
</div>
<?php if ($this->get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?>
<div class="wpsg_produkt_preishinweis">
- <?php echo wpsg_translate(__('#2# zzgl. #1#', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>', '<a href="#kkhint" title="'.wpsg_hspc($this->get_option('wpsg_kleinunternehmer_text')).'">Endpreis</a>'); ?>
+ <?php echo wpsg_translate(__('#2# zzgl. #1#', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>', '<a href="#kkhint">'.esc_html__('Endpreis', 'wpsg').'</a>'); ?>
</div>
<?php } else { /* Kleinunternehmerregelung aktiviert ENDE */ ?>
<div class="wpsg_produkt_preishinweis">
@@ -238,8 +238,8 @@
</div>
<?php if ($this->get_option('wpsg_kleinunternehmer')) { ?>
- <a name="kkhint"></a>
- <div class="wpsg_mod_productindex_kuhint"><?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?></div>
+ <?php /* Ziel des Links „Endpreis“; der title-Text erreichte Tastatur und Screenreader nicht (P31) */ ?>
+ <div class="wpsg_mod_productindex_kuhint" id="kkhint"><?php echo wp_kses_post((string)$this->get_option('wpsg_kleinunternehmer_text')); ?></div>
<?php } ?>
</div>