diff options
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_productview/productview_filter.phtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/mods/mod_productview/productview_filter.phtml b/views/mods/mod_productview/productview_filter.phtml index 9341d53..c70510f 100644 --- a/views/mods/mod_productview/productview_filter.phtml +++ b/views/mods/mod_productview/productview_filter.phtml @@ -67,11 +67,12 @@ <?php } else if ($filter['type'] === 'pricefilter') { ?> <fieldset class="wpsg-pvf__item wpsg-pvf__price"> - <legend class="wpsg-pvf__title"><?php echo esc_html__('Preis', 'wpsg'); ?></legend> + <?php /* In der Leiste steht die Währung in der Überschrift, sonst rutscht sie am Handy allein in eine Zeile */ ?> + <legend class="wpsg-pvf__title"><?php echo esc_html__('Preis', 'wpsg'); ?><?php if ($bBar) echo ' ('.esc_html($currency).')'; ?></legend> <div class="wpsg-pvf__options"> <label><span><?php echo esc_html__('von', 'wpsg'); ?></span> <input type="number" step="0.01" min="0" name="pvf[price_min]" value="<?php echo esc_attr((string)($arValues['price_min']??'')); ?>" placeholder="<?php echo esc_attr(wpsg_ff($filter['min'])); ?>" /></label> <label><span><?php echo esc_html__('bis', 'wpsg'); ?></span> <input type="number" step="0.01" min="0" name="pvf[price_max]" value="<?php echo esc_attr((string)($arValues['price_max']??'')); ?>" placeholder="<?php echo esc_attr(wpsg_ff($filter['max'])); ?>" /></label> - <span class="wpsg-pvf__unit"><?php echo esc_html($currency); ?></span> + <?php if (!$bBar) { ?><span class="wpsg-pvf__unit"><?php echo esc_html($currency); ?></span><?php } ?> </div> </fieldset> |
