diff options
| author | thomas <noreply@maennchen1.de> | 2017-12-20 11:07:37 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2017-12-20 11:07:37 +0000 |
| commit | 1e7113a27e03bc256b6718763ff376e94cb124ab (patch) | |
| tree | f475c6a55774703fc56d521260f2ce1d3ed97839 | |
| parent | e127061787e9eb0bd037d415af5892ca5fcdf1cf (diff) | |
- Verlinkung auf dem Bild in der grid-Ansicht ist wieder vorhanden
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6840 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/mods/mod_productindex/layouts/grid.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index c23b4f7..1d5442a 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -98,9 +98,10 @@ <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">
- <?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 Produkts', '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">
|
