diff options
| author | hartmut <noreply@maennchen1.de> | 2018-02-08 10:14:52 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2018-02-08 10:14:52 +0000 |
| commit | 82318a55ea0eaea9eac5f62a7b9d784e5de7ca57 (patch) | |
| tree | 63c5a03d2422cf550f1646e025618c3c79d3df60 /views/mods | |
| parent | 467fd1bb569b1ddccec85da08b2c7ba57dbd3cb0 (diff) | |
Korrektur colspan für Variationsanzeige Imagezeile
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6891 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_productvariants/admin_edit.phtml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/views/mods/mod_productvariants/admin_edit.phtml b/views/mods/mod_productvariants/admin_edit.phtml index ae16a63..4f83d36 100644 --- a/views/mods/mod_productvariants/admin_edit.phtml +++ b/views/mods/mod_productvariants/admin_edit.phtml @@ -15,28 +15,28 @@ <thead>
<tr>
- <?php $colspan = 2; if (wpsg_isSizedInt($this->view['product_id'])) { $colspan ++; ?>
+ <?php $colspan = 0; if (wpsg_isSizedInt($this->view['product_id'])) { ?>
<th class="col_active"><?php echo __('Aktiv', 'wpsg'); ?></th>
- <?php } ?>
<th class="col_id"><?php echo __('Id', 'wpsg'); ?></th>
<th class="col1"><?php echo __('Name', 'wpsg'); ?></th>
<th class="col_shortname"><?php echo __('Kurzname'); ?></th>
+ <?php $colspan += 3; } ?>
- <?php if (wpsg_isSizedInt($this->view['product_id'])) { $colspan += 3; ?>
+ <?php if (wpsg_isSizedInt($this->view['product_id'])) { $colspan += 2; ?>
<th class="col_artnr"><?php echo __('Artikelnummer', 'wpsg'); ?></th>
<th class="col_price"><?php echo __('Preis', 'wpsg'); ?></th>
<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
- <th class="col_stock"><?php echo __('Lagerbestand', 'wpsg'); ?></th>
+ <th class="col_stock"><?php echo __('Lagerbestand', 'wpsg'); $colspan ++; ?></th>
<?php } ?>
<?php if ($this->hasMod('wpsg_mod_weight')) { ?>
- <th class="col_stock"><?php echo __('Gewicht', 'wpsg'); ?></th>
+ <th class="col_stock"><?php echo __('Gewicht', 'wpsg'); $colspan ++; ?></th>
<?php } ?>
<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
- <th class="col_stock"><?php echo __('Füllmenge', 'wpsg'); ?></th>
+ <th class="col_stock"><?php echo __('Füllmenge', 'wpsg'); $colspan ++; ?></th>
<?php } ?>
<?php } ?>
@@ -172,7 +172,7 @@ <?php if (wpsg_isSizedInt($this->view['product_id'])) { ?>
<tr class="wpsg_mod_productvariants_productimage_row">
- <td class="col_id"> </td>
+ <td class="col_active"> </td>
<?php
$arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true);
|
