diff options
| author | jlbeer <noreply@maennchen1.de> | 2026-09-25 17:05:32 +0200 |
|---|---|---|
| committer | jlbeer <noreply@maennchen1.de> | 2026-09-25 17:05:32 +0200 |
| commit | abfd45b167a9deff2de2633212e28fe0b336c63d (patch) | |
| tree | 02a260a680be29cb0daa1bbc13a964ef2028c447 /views/mods/mod_weight/overview_row.phtml | |
| parent | fc461e1afd3dcce2ddb39c0f3da5fd7cd342100a (diff) | |
| parent | be200df7d3e9b0fb65043627b35037eaf0046e6b (diff) | |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'views/mods/mod_weight/overview_row.phtml')
| -rw-r--r-- | views/mods/mod_weight/overview_row.phtml | 12 |
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 |
