diff options
Diffstat (limited to 'views/mods/mod_weight/basket_row.phtml')
| -rw-r--r-- | views/mods/mod_weight/basket_row.phtml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/views/mods/mod_weight/basket_row.phtml b/views/mods/mod_weight/basket_row.phtml index e47000b..1f8b2aa 100644 --- a/views/mods/mod_weight/basket_row.phtml +++ b/views/mods/mod_weight/basket_row.phtml @@ -4,11 +4,14 @@ * Template für die Anzeige des Produktgewichts im Warenkorb
*/
//wpsg_debug($this->view);
+
+ if (!defined('ABSPATH')) exit;
+
?>
<div class="product_info">
<div class="title">
- <span class="fa fa-balance-scale"></span>
- <?php echo __("Gewicht", "wpsg"); ?>:
- <strong><?php echo wpsg_ff($this->view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?></strong>
- </div>
+ <span class="fa fa-balance-scale"></span>
+ <?php echo esc_html__('Gewicht', 'wpsg'); ?>:
+ <strong><?php echo esc_html(wpsg_ff($this->view['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?></strong>
+ </div>
</div>
\ No newline at end of file |
