summaryrefslogtreecommitdiff
path: root/views/mods/mod_weight/overview_row.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_weight/overview_row.phtml')
-rw-r--r--views/mods/mod_weight/overview_row.phtml12
1 files changed, 7 insertions, 5 deletions
diff --git a/views/mods/mod_weight/overview_row.phtml b/views/mods/mod_weight/overview_row.phtml
index a1cd49e..beac1f1 100644
--- a/views/mods/mod_weight/overview_row.phtml
+++ b/views/mods/mod_weight/overview_row.phtml
@@ -4,12 +4,14 @@
* Template für die Integration des Produktgewichts in die Bestellzusammenfassung
*/
+ if (!defined('ABSPATH')) exit;
+
?>
<div class="product_info">
- <div
+ <div
<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
- <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