summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2018-10-22 12:33:17 +0000
committerthomas <noreply@maennchen1.de>2018-10-22 12:33:17 +0000
commit398e41fe43bccb556bca82f78d68bbede7e97c8e (patch)
tree90a7388d3c20eb67e4f2b77c6d4124fa811c36f4
parenta9c9297aaf0f44f38d4911f26e50f7c96a338bf5 (diff)
- grammatische Prüfung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7192 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_productindex/layouts/grid.phtml2
-rw-r--r--views/mods/mod_productindex/layouts/list.phtml6
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">