diff options
| -rw-r--r-- | views/mods/mod_productindex/layouts/grid.phtml | 2 | ||||
| -rw-r--r-- | views/mods/mod_productindex/layouts/list.phtml | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index cb3e6c0..38e3990 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -98,7 +98,7 @@ <div class="wpsg_mod_productindex_product <?php echo (($i == sizeof($this->view['arProducts']))?'wpsg_mod_productindex_product_last':''); ?> <?php echo (($i == 1)?'wpsg_mod_productindex_product_first':''); ?>" style="width:<?php echo round((100 / $col), 2) ?>%;">
<div class="wpsg_mod_productindex_product_inner">
- <a title="<?php echo __('Zur Detailseite des Produkts', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>">
+ <a title="<?php echo __('Zur Detailseite des Produktes', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>">
<?php $attachment_id = $this->imagehandler->getAttachmentID($p['product_key']); ?>
<?php echo wp_get_attachment_image($attachment_id, array(800, 600)); ?>
</a>
diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml index e8b6f0e..d455557 100644 --- a/views/mods/mod_productindex/layouts/list.phtml +++ b/views/mods/mod_productindex/layouts/list.phtml @@ -91,8 +91,10 @@ <?php $i = 0; foreach ($this->view['arProducts'] as $p) { $i ++; ?>
<div class="wpsg_mod_productindex_product <?php echo (($i % 2 == 0)?'odd':'even'); ?> <?php echo (($i == sizeof($this->view['arProducts']))?'wpsg_mod_productindex_product_last':''); ?> <?php echo (($i == 1)?'wpsg_mod_productindex_product_first':''); ?>">
- <?php $attachment_id = $this->imagehandler->getAttachmentID($p['product_key']); ?>
- <?php echo wp_get_attachment_image($attachment_id, array(800, 600)); ?>
+ <a title="<?php echo __('Zur Detailseite des Produktes', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>">
+ <?php $attachment_id = $this->imagehandler->getAttachmentID($p['product_key']); ?>
+ <?php echo wp_get_attachment_image($attachment_id, array(800, 600)); ?>
+ </a>
<div class="wpsg_mod_productindex_content">
<div class="wpsg_mod_productindex_infos">
|
