diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/admin/ueber.phtml | 4 | ||||
| -rw-r--r-- | 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 @@ <?php } ?>
<?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemlog') { ?>
-<?php echo wpsg_drawForm_AdminboxStart(__('Fehlerprotokoll', 'wpsg'), '', array('style' => 'width:892px;')); ?>
+<?php echo wpsg_drawForm_AdminboxStart(__('Fehlerprotokoll', 'wpsg'), '', array('style' => 'width:905px;')); ?>
<?php if (!file_exists($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log')) { ?>
<p><?php echo __('Es wurden noch keine Systemfehler aufgezeichnet.', 'wpsg'); ?></p>
<?php } else { ?>
- <textarea style="width:860px; height:500px; font-size:12px; font-family:Courier;"><?php echo file_get_contents($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log'); ?></textarea>
+ <textarea style="width:875px; overflow-y:scroll; height:500px; font-size:12px; font-family:Courier;"><?php echo file_get_contents($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log'); ?></textarea>
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=clearSysLog&noheader=1" class="button"><?php echo __('Protokolldatei löschen', 'wpsg'); ?></a>
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();
?>
<div class="container container-fluid-page">
@@ -18,7 +19,23 @@ <div class="wpsg_produkt_wrapper">
<input type="hidden" name="wpsg_post_id" value="<?php echo get_the_ID(); ?>" />
-
+
+ <div class="wpsg_produkt wpsg_product_name">
+
+ <?php if (!$this->titleDisplayed) { ?>
+ <h1 itemprop="name" class="wpsg_producttitle"><?php echo $this->getProductName($this->view['data']['id']); ?></h1>
+ <?php } ?>
+
+ <?php $this->callMods('product_top_afterheadline', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?>
+
+ </div>
+
+ <?php if (sizeof($arImages) > 0) { ?>
+
+ <?php wpsg_debug($arImages); ?>
+ <?php } ?>
+
+
<?php $this->callMods('product_top', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?>
<div itemscope itemtype="http://schema.org/Product" class="wpsg_produkt wpsg_produkt_<?php echo $this->view['data']['id']; ?>">
@@ -67,12 +84,12 @@ </div>
<div class="wpsg_product_mod_information_right">
+
<?php /* Block für Produktbeschreibung START */ ?>
- <div class="wpsg_produkt wpsg_product_name">
- <h1 itemprop="name" class="wpsg_producttitle"><?php echo $this->getProductName($this->view['data']['id']); ?></h1>
- <?php $this->callMods('product_top_afterheadline', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?>
- </div>
+
+
<br/>
+
<?php if ($this->get_option('wpsg_showArticelnumber') == '1') { ?>
<div class="wpsg_artikelnummer">
<?php echo __('Artikelnummer', 'wpsg'); ?>: <span class="wpsg_anr"><?php echo wpsg_hspc($this->view['data']['anr']); ?></span><br />
|
