summaryrefslogtreecommitdiff
path: root/views/mods/mod_weight/basket_row.phtml
diff options
context:
space:
mode:
authordaniel <noreply@maennchen1.de>2026-09-25 11:48:39 +0200
committerdaniel <noreply@maennchen1.de>2026-09-25 11:48:39 +0200
commitbe200df7d3e9b0fb65043627b35037eaf0046e6b (patch)
treee17a217b5f0e978510f881929d2f2c5fbfb26a96 /views/mods/mod_weight/basket_row.phtml
parentffe8dbf4d9e270d32effe2598d51cd45a43a4910 (diff)
- Module überarbeitet (PayPal, Gewicht)
Diffstat (limited to 'views/mods/mod_weight/basket_row.phtml')
-rw-r--r--views/mods/mod_weight/basket_row.phtml11
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