From d01df31126004b4a15bcf4f433de729c4c9701a3 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 6 Sep 2017 07:37:22 +0000 Subject: - Produktbilderdarstellung git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6451 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/presentation.phtml | 4 ++-- views/mods/mod_productindex/layouts/grid.phtml | 25 ++++++++----------------- views/mods/mod_productindex/layouts/list.phtml | 23 ++++++----------------- 3 files changed, 16 insertions(+), 36 deletions(-) diff --git a/views/admin/presentation.phtml b/views/admin/presentation.phtml index 0838259..5081683 100644 --- a/views/admin/presentation.phtml +++ b/views/admin/presentation.phtml @@ -31,8 +31,8 @@ '2' => __('Serverseitig + Javascript V2', 'wpsg') ), $this->get_option('wpsg_form_validation')); ?> - shop->get_option('wpsg_imagehandler_basketimage')); ?> - shop->get_option('wpsg_imagehandler_overviewimage')); ?> + get_option('wpsg_imagehandler_basketimage')); ?> + get_option('wpsg_imagehandler_overviewimage')); ?> callMods('admin_presentation'); ?> diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index a4dfc58..6a71fb5 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -97,21 +97,12 @@
- hasMod('wpsg_mod_produktbilder')) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($p['id'])); ?> -
- - - - - - - - -
- + + imagehandler->getAttachmentID($p['product_key']); ?> + + + +
getProductName($this->getProduktID($p['id']), true); ?> @@ -289,6 +280,6 @@ } ); - } ); - + } ); + /* ]]> */ \ No newline at end of file diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml index c53e0ea..a1ddea2 100644 --- a/views/mods/mod_productindex/layouts/list.phtml +++ b/views/mods/mod_productindex/layouts/list.phtml @@ -90,21 +90,10 @@ view['arProducts'] as $p) { $i ++; ?>
- hasMod('wpsg_mod_produktbilder')) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($p['id'])); ?> -
- - - - - - - - -
- + + imagehandler->getAttachmentID($p['product_key']); ?> + +
@@ -275,6 +264,6 @@ } ); - } ); - + } ); + /* ]]> */ \ No newline at end of file -- cgit v1.2.3