summaryrefslogtreecommitdiff
path: root/views/mods/mod_weight
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_weight')
-rw-r--r--views/mods/mod_weight/overview_row.phtml19
-rw-r--r--views/mods/mod_weight/overview_row_end.phtml15
2 files changed, 22 insertions, 12 deletions
diff --git a/views/mods/mod_weight/overview_row.phtml b/views/mods/mod_weight/overview_row.phtml
index 921f387..92dc032 100644
--- a/views/mods/mod_weight/overview_row.phtml
+++ b/views/mods/mod_weight/overview_row.phtml
@@ -5,9 +5,16 @@
*/
?>
-<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">
- <td ><?php echo __('Gewicht', 'wpsg'); ?>:</td>
- <td colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'2':'1'); ?>" class="wpsg_cell_weight_value">
- <?php echo wpsg_ff($this->view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?>
- </td>
-</tr> \ No newline at end of file
+<div class="product_info">
+ <div
+ <?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
+ <?php echo __("Gewicht", "wpsg"); ?>
+ </div>
+ <div class="valuer">
+ <?php echo wpsg_ff($this->view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?>
+ </div>
+ <div class="dummyr">
+ <?php echo __('&nbsp;'); ?>
+ </div>
+
+</div> \ No newline at end of file
diff --git a/views/mods/mod_weight/overview_row_end.phtml b/views/mods/mod_weight/overview_row_end.phtml
index 12da77e..de38b35 100644
--- a/views/mods/mod_weight/overview_row_end.phtml
+++ b/views/mods/mod_weight/overview_row_end.phtml
@@ -5,11 +5,14 @@
*/
?>
-<tr class="wpsg_row_weight wpsg_row_small">
- <td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_weight_label">
+<div class="overview_sum_row">
+ <div class="title">
<?php echo __('Gesamtgewicht', 'wpsg'); ?>:
- </td>
- <td class="wpsg_cell_weight_value">
+ </div>
+ <div class="value">
<?php echo wpsg_ff($this->view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?>
- </td>
-</tr> \ No newline at end of file
+ </div>
+ <div class="value">
+ <?php echo __('&nbsp;'); ?>
+ </div>
+</div> \ No newline at end of file