From eb44c5e8ab1ac2c85d2dc6f30c6d44f9ccae961c Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 2 Jun 2017 13:37:56 +0000 Subject: - Warnungen / Template Anzeige git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6308 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/ueber.phtml | 4 ++-- views/produkttemplates/standard.phtml | 29 +++++++++++++++++++++++------ 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/views/admin/ueber.phtml b/views/admin/ueber.phtml index e4401e1..b3f5986 100644 --- a/views/admin/ueber.phtml +++ b/views/admin/ueber.phtml @@ -78,13 +78,13 @@ - 'width:892px;')); ?> + 'width:905px;')); ?> getStorageRoot().'exception.log')) { ?>

- + diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index 3b3b59a..c6353f7 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -10,7 +10,8 @@ // Damit keine Zubehörprodukte ausgegeben werden //$this->noReleatedProducts = true; - if (!function_exists('is_plugin_active')) require_once(ABSPATH.'/wp-admin/includes/plugin.php'); + $arImages = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->view['data']['product_id'])); + if (!wpsg_isSizedArray($arImages)) $arImages = array(); ?>
@@ -18,7 +19,23 @@
- + +
+ + titleDisplayed) { ?> +

getProductName($this->view['data']['id']); ?>

+ + + callMods('product_top_afterheadline', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
+ + 0) { ?> + + + + + callMods('product_top', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?>
@@ -67,12 +84,12 @@
+ -
-

getProductName($this->view['data']['id']); ?>

- callMods('product_top_afterheadline', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> -
+ +
+ get_option('wpsg_showArticelnumber') == '1') { ?>
: view['data']['anr']); ?>
-- cgit v1.2.3