Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 6307)
+++ /controller/wpsg_ShopController.class.php	(revision 6308)
@@ -51,4 +51,7 @@
 		/** Ob im Warenkorb mit gerundeten Werten weitergerechnet werden soll */
 		var $addRoundedValues = true;
+		
+		/** Wird von der the_title auf true gesetzt wenn man auf einer Produktseite ist */
+		var $titleDisplayed = false;
 		
 		const CHECK_NOTICE = 1;
@@ -157,5 +160,5 @@
 		 * Filterung des Seitentitels 
 		 */
-		public function the_filter($title, $id = null)
+		public function the_title($title, $id = null)
 		{
 
@@ -163,8 +166,12 @@
 			{
 
+				// Bei der Produktanzeige ÃŒber den Warenkorb soll kein Titel angezeigt werden
 				if (wpsg_isSizedInt($id, $this->get_option('wpsg_page_basket')) && wpsg_isSizedString($_REQUEST['wpsg_action'], 'showProdukt') && doing_filter('the_content')) return '';
 
 			}
 
+			// Seitentitel auf Produktseiten nicht anzeigen
+			if ($this->hasMod('wpsg_mod_produktartikel') && get_post_type() === $this->get_option('wpsg_mod_produktartikel_pathkey')) $this->titleDisplayed = true;
+			
 			return $title;
 			
Index: /controller/wpsg_SystemController.class.php
===================================================================
--- /controller/wpsg_SystemController.class.php	(revision 6307)
+++ /controller/wpsg_SystemController.class.php	(revision 6308)
@@ -706,6 +706,4 @@
 			
 			if (sizeof($this->arTemplateStack) == 1 && $this->get_option('wpsg_autoraw') === '1' && !is_admin() && !$this->bShortcode) echo '[raw]';
-			 
-			$render_file = false;
 			
 			if (file_exists($uv_file) && $this->get_option('wpsg_ignoreuserview') != '1') $render_file = $uv_file;				
@@ -724,12 +722,7 @@
 			{
 				
-				if (!preg_match('/\/form\//', $file))
-				{
-				
-					echo '<div style="display:inline-block; box-shadow: inset 0px 0px 0px 1px #003C6A; position:relative;">';			
-					echo '<div style="background-color:#003C6A; color:#FFFFFF; white-space:nowrap; font-size:11px; font-family:monospace; line-height:14px; margin-top:-14px; position:absolute;">'.$this->clearPathForDebug($file).'</div>';
-					
-				}
-				
+				echo '<div style="display:inline-block; box-shadow: inset 0px 0px 0px 1px #003C6A; position:relative;">';			
+				echo '<div style="background-color:#003C6A; color:#FFFFFF; white-space:nowrap; font-size:11px; font-family:monospace; line-height:14px; margin-top:-14px; position:absolute;">'.$this->clearPathForDebug($file).'</div>';
+								
 			}
 			
@@ -739,10 +732,5 @@
 			{
 				
-				if (!preg_match('/\/form\//', $file))
-				{
-					
-					echo '</div>';
-					
-				}
+				echo '</div>';
 				
 			}
@@ -760,5 +748,5 @@
 			
 			$file = preg_replace('/(\/\/)|(\\\)/', '/', $file);
-			$file = str_replace(get_home_path(), '/', $file);
+			$file = str_replace(WPSG_PATH_WP, '/', $file);
 			
 			return $file;
Index: /mods/wpsg_mod_productvars.class.php
===================================================================
--- /mods/wpsg_mod_productvars.class.php	(revision 6307)
+++ /mods/wpsg_mod_productvars.class.php	(revision 6308)
@@ -153,5 +153,5 @@
 		{
 		
-			if (isset($_REQUEST['wpsg_lang'])) return;
+			if (isset($_REQUEST['wpsg_lang']) || !wpsg_isSizedInt($_REQUEST['edit_id'])) return;
 					
 			$this->shop->view['wpsg_mod_productvars']['productvars_set'] = explode(",", $product_data['produktvars']);						
Index: /views/admin/ueber.phtml
===================================================================
--- /views/admin/ueber.phtml	(revision 6307)
+++ /views/admin/ueber.phtml	(revision 6308)
@@ -79,5 +79,5 @@
 
 <?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')) { ?>
@@ -85,5 +85,5 @@
 	<?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>
Index: /views/produkttemplates/standard.phtml
===================================================================
--- /views/produkttemplates/standard.phtml	(revision 6307)
+++ /views/produkttemplates/standard.phtml	(revision 6308)
@@ -11,5 +11,6 @@
 	//$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();
 
 ?>
@@ -19,5 +20,21 @@
 	
 		<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())); ?>
 	
@@ -68,10 +85,10 @@
 			
 			<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"> 
Index: /wpshopgermany.php
===================================================================
--- /wpshopgermany.php	(revision 6307)
+++ /wpshopgermany.php	(revision 6308)
@@ -111,4 +111,7 @@
 	define('WPSG_NETTO', '1');
 	
+	// Wird fÃŒr die Sharif ÃberprÃŒfung im Produkttemplate eingebunden
+	if (!function_exists('is_plugin_active')) require_once(ABSPATH.'/wp-admin/includes/plugin.php');
+
 	require_once(dirname(__FILE__).'/lib/functions.inc.php');
 	require_once(dirname(__FILE__).'/lib/filter_functions.inc.php');
@@ -215,5 +218,5 @@
 		add_shortcode('wpshopgermany_link', array($GLOBALS['wpsg_sc'], 'shortcode_basket'));
 		
-		add_filter('the_title', array($GLOBALS['wpsg_sc'], 'the_filter'), 10, 2);
+		add_filter('the_title', array($GLOBALS['wpsg_sc'], 'the_title'), 10, 2);
 		add_filter('the_content', array($GLOBALS['wpsg_sc'], 'content_filter'));	
 		add_filter('the_excerpt', array($GLOBALS['wpsg_sc'], 'the_excerpt'));	 
