Index: /mods/mod_converter/M1_Converter_update.php
===================================================================
--- /mods/mod_converter/M1_Converter_update.php	(revision 6563)
+++ /mods/mod_converter/M1_Converter_update.php	(revision 6564)
@@ -31,8 +31,12 @@
 	?>
 	
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 	<?php
 	    $kunden = $GLOBALS['wpsg_sc']->db->fetchAssoc("SELECT * FROM `".WPSG_TBL_KU."` ORDER BY `id` ASC");
@@ -74,6 +78,15 @@
     	echo $anz1.' Adresse(n) von '.$anz2.' Kunden neu angelegt.<br /><br />';
     	
-    	echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+    	if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 2) {
+    		echo '<br />Konvertierung beendet<br /><br />';
+    		echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+    	} else {
+    		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+    	}
     	//$GLOBALS['wpsg_sc']->addFrontendMessage(__('Test.', 'wpsg'));
+    	
+    	?>
+		</div></div></div>
+		<?php
     	
 	}	// public function M1_Converter_kunden()
@@ -95,8 +108,13 @@
 		$anz4 = 0;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 	<?php
 		
@@ -161,5 +179,14 @@
 		echo $anz3.' Rechnungsadresse(n) aus den Kunden ÃŒbernommen. '.$anz4.' Kunden nicht gefunden.<br /><br />';
 		
-		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+		if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 4) {
+			echo '<br />Konvertierung beendet<br /><br />';
+			echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+		} else {
+			echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+		}
+		
+		?>
+		</div></div></div>
+		<?php
 		
 	}	// public function M1_Converter_order()
@@ -175,8 +202,12 @@
 		$anz2 = 0;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+			<div class="panel-body" >
 	<?php
 	    $adress = $GLOBALS['wpsg_sc']->db->fetchAssoc("SELECT * FROM `".WPSG_TBL_ADRESS."` ORDER BY `id` ASC");
@@ -204,6 +235,15 @@
     	echo $anz2.' Anreden von '.$anz1.' Adressen geÃ€ndert.<br /><br />';
     	
-    	echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
-	    
+    	if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 8) {
+    		echo '<br />Konvertierung beendet<br /><br />';
+    		echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+    	} else {
+    		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+    	}
+    	
+    	?>
+		</div></div></div>
+		<?php
+    	
 	}	// public function M1_Converter_anrede()
 
@@ -232,6 +272,6 @@
     		);
 			wp_insert_post($arPost);
-			$this->m1cpb1 = new progressbar(0, 100, 300, 30);
-			$this->m1cpb1->print_code();
+			//$this->m1cpb1 = new progressbar(0, 100, 300, 30);
+			//$this->m1cpb1->print_code();
 			
 			// Variantentabellen leeren
@@ -270,8 +310,13 @@
 		$anz3 = 0;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		<br />
 	<?php
@@ -499,4 +544,8 @@
 		ini_set('max_execution_time', 30);
 		
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_prod1()
 
@@ -571,8 +620,13 @@
 		
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 	<?php
 	
@@ -636,4 +690,8 @@
 		ini_set('max_execution_time', 30);
 		
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_zip()
 
@@ -647,8 +705,13 @@
 		
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 	<?php
 	
@@ -678,4 +741,8 @@
 		ini_set('max_execution_time', 30);
 		
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_unzip()
 
@@ -689,8 +756,12 @@
 		global $GLOBALS;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		
 	<?php
@@ -731,7 +802,16 @@
 	
 		unset($_REQUEST['action']);
-		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+		if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 128) {
+			echo '<br />Konvertierung beendet<br /><br />';
+			echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+		} else {
+			echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+		}
 		ini_set('max_execution_time', 30);
 	
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_category()
 
@@ -750,8 +830,12 @@
 		global $GLOBALS;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		
 	<?php
@@ -804,7 +888,16 @@
 		
 		unset($_REQUEST['action']);
-		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+		if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 256) {
+			echo '<br />Konvertierung beendet<br /><br />';
+			echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+		} else {
+			echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+		}
 		ini_set('max_execution_time', 30);
-	
+
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_lief()
 	
@@ -823,8 +916,13 @@
 		global $GLOBALS;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		
 	<?php
@@ -877,7 +975,16 @@
 		
 		unset($_REQUEST['action']);
-		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+		if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 512) {
+			echo '<br />Konvertierung beendet<br /><br />'; 
+			echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+		} else {
+			echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+		}
 		ini_set('max_execution_time', 30);
 	
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_rech()
 	
@@ -890,7 +997,13 @@
 
 	?>
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		
 	<?php
@@ -907,4 +1020,8 @@
 		$GLOBALS['wpsg_sc']->db->Query("DELETE FROM `".$GLOBALS['wpdb']->prefix."posts` WHERE `post_title` = '".wpsg_q('wpsg_variants_import')."' ");
 		
+		?>
+		</div></div></div>
+		<?php
+		
 	}
 
@@ -921,8 +1038,13 @@
 		global $GLOBALS;
 	?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+	
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		
 	<?php
@@ -1123,7 +1245,16 @@
 		
 		unset($_REQUEST['action']);
-		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+		if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 64) {
+			echo '<br />Konvertierung beendet<br /><br />';
+			echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+		} else {
+			echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+		}
 		ini_set('max_execution_time', 30);
-	
+
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_preis()
 	
@@ -1142,8 +1273,13 @@
 		global $GLOBALS;
 		?>
-		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.'M1-Converter/style.css'; ?>" type="text/css" media="all" />
-	    <div class="wrap">
-	        <h2>M1-Converter</h2>
-		</div>
+		<link rel="stylesheet" href="<?php echo WPSG_PLUGIN_URL.WPSG_FOLDERNAME.'/mods/mod_converter/style.css'; ?>" type="text/css" media="all" />
+
+		<div class="m1_converter_admin_content" >
+	    	<div class="panel panel-default" >
+	    		<div class="panel-heading clearfix" >
+	        		<h2 class="panel-title" >M1-Konverter</h2>
+				</div>
+				
+				<div class="panel-body" >
 		
 	<?php
@@ -1191,7 +1327,16 @@
 		
 		unset($_REQUEST['action']);
-		echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show">ZurÃŒck</a><br />');
+		if ($GLOBALS['wpsg_sc']->get_option('wpsg_mod_converter_status') == 1023 - 1) {
+			echo '<br />Konvertierung beendet<br /><br />';
+			echo '<a class="m1c_button" href="'.admin_url('').'">ZurÃŒck zum Backend</a><br />';
+		} else {
+			echo '<a class="m1c_button" href="'.admin_url('admin.php?page=M1_Converter_dispatch&action=show').'">ZurÃŒck</a><br />';
+		}
 		ini_set('max_execution_time', 30);
 	
+		?>
+		</div></div></div>
+		<?php
+		
 	}	// public function M1_Converter_allgemein()
 	
@@ -1202,5 +1347,5 @@
 	?>
 	    <div class="wrap">
-	        <h2>M1-Converter</h2>
+	        <h2>M1-Konverter</h2>
 		</div>
 		
Index: /mods/mod_converter/style.css
===================================================================
--- /mods/mod_converter/style.css	(revision 6563)
+++ /mods/mod_converter/style.css	(revision 6564)
@@ -50,4 +50,6 @@
 .m1c_button_layout3:hover { color:#1a1a1a; background-color:#e5e5e5; border-color:#1a1a1a; }
 
+.glyph_ok { color:green; display:none; }
+
 label {
     display: inline-block;
Index: /mods/wpsg_mod_converter.class.php
===================================================================
--- /mods/wpsg_mod_converter.class.php	(revision 6563)
+++ /mods/wpsg_mod_converter.class.php	(revision 6564)
@@ -14,5 +14,5 @@
 		var $hilfeURL = 'https://doc.wpshopgermany.de/4/m1-converter/';
 		
-		var $m1cauto = false;
+		var $m1cauto = 0;
 		var $m1cconv;
 		var $m1cpb;
@@ -68,5 +68,6 @@
 					//http://shop4.home/wp-admin/admin.php?page=M1_Converter_dispatch
 					//$this->shop->update_option('wpsg_mod_converter', false);
-					$this->shop->update_option('wpsg_mod_converter_auto', false);
+					$this->shop->update_option('wpsg_mod_converter_auto', 0);
+					$this->shop->update_option('wpsg_mod_converter_status', 0);
 					wp_redirect(WPSG_URL_WP.'wp-admin/admin.php?page=M1_Converter_dispatch');
 				}
@@ -102,8 +103,11 @@
 			
 			// 11 1111 1111
-			if (($this->status == 1023) && ($this->m1cauto == false)) {
+			if (($this->status == 1023) && ($this->m1cauto == 0)) {
 				$this->shop->update_option('wpsg_mod_converter', false);
-				$this->shop->update_option('wpsg_mod_converter_status', 0);
+				//$this->shop->update_option('wpsg_mod_converter_status', 0);
 				$this->shop->update_option('wpsg_mod_converter_done', 1);
+				sleep(3);
+				wp_redirect(WPSG_URL_WP.'wp-admin/');
+				
 				//$_REQUEST['action'] = 'ende';
 				//$this->M1_Converter_dispatch();
@@ -137,5 +141,5 @@
 				
 				//$this->m1cauto = true;
-				$this->shop->update_option('wpsg_mod_converter_auto', true);
+				$this->shop->update_option('wpsg_mod_converter_auto', 1);
 				//$this->M1_Converter_auto();
 				
@@ -151,5 +155,5 @@
 				
 				$this->shop->update_option('wpsg_mod_converter', false);
-				$this->shop->update_option('wpsg_mod_converter_status', 0);
+				//$this->shop->update_option('wpsg_mod_converter_status', 0);
 				$this->shop->update_option('wpsg_mod_converter_done', 1);
 				//$this->shop->update_option('wpsg_mod_converter_auto', false);
@@ -161,4 +165,17 @@
 				
 			}
+			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'end')
+			{
+				
+				$this->shop->update_option('wpsg_mod_converter', false);
+				$this->shop->update_option('wpsg_mod_converter_done', 1);
+				$auto = $this->shop->get_option('wpsg_mod_converter_auto');
+				$status = $this->shop->get_option('wpsg_mod_converter_status');
+				//die('Konverter beendet. Statuscode: '.$auto.'-'.$status);
+				$this->shop->addBackendMessage(__('Konverter beendet. Statuscode: '.$auto.'/'.$status));
+				sleep(1);
+				wp_redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+				
+			}
 			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'allgemein')
 			{
@@ -196,7 +213,14 @@
 				
 			}
+			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'prod0')
+			{
+				
+				die($this->m1cconv->M1_Converter_prod0());
+				
+			}
 			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'prod1')
 			{
 				
+				//die($this->m1cconv->M1_Converter_prod0());
 				$this->m1cconv->M1_Converter_prod1();
 				$this->checkStatus('100000');
@@ -231,10 +255,4 @@
 				
 			}
-			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'produkt')
-			{
-				
-				$this->m1cconv->M1_Converter_produkt();
-				
-			}
 			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'zip')
 			{
@@ -253,10 +271,4 @@
 				
 				$this->m1cconv->M1_Converter_test();
-				
-			}
-			else if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'prod0')
-			{
-				
-				die($this->m1cconv->M1_Converter_prod0());
 				
 			}
@@ -425,4 +437,6 @@
 				echo __('<br /><br />Bilderverzeichnis fÃŒr Produkt 1: '.$this->m1cconv->getPicPath(1), 'wpsg');
 		
+				$status = $this->shop->get_option('wpsg_mod_converter_status');
+				
         		?>
         		<br /><br />
@@ -445,5 +459,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Allgemeine Konfigurationen<br />
+					Allgemeine Konfigurationen 
+					<span id="idallgemein" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 1) == 1) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <a class="m1c_button" title="Konvertieren der Kundenadressen" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=kunden'); ?>">Kunden</a>
@@ -451,5 +466,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Konvertieren der Kundenadressen<br />
+					Konvertieren der Kundenadressen
+					<span id="idkunden" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 2) == 2) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <a class="m1c_button" title="Konvertieren der Bestellungen" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=order'); ?>">Bestellungen</a>
@@ -457,5 +473,7 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Konvertieren der Bestellungen, Rechnungsadresse und Lieferadresse<br />
+					Konvertieren der Bestellungen, Rechnungsadresse und Lieferadresse
+					<span id="idorder" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 4) == 4) echo 'style="display:inline-block;"'; ?> ></span><br />
+					
 
 			        <a class="m1c_button" title="Konvertieren der Anreden" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=anrede'); ?>">Anreden</a>
@@ -463,5 +481,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Konvertieren der Anrede in der Tabelle der Adressen<br />
+					Konvertieren der Anrede in der Tabelle der Adressen
+					<span id="idanrede" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 8) == 8) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <div style="height:48px;margin-bottom:3px;">
@@ -471,6 +490,7 @@
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
 					<div style="display:inline-block; height:48px; vertical-align:middle">LÃ¶schen der Produktbilder in der Mediathek.<br /><span id="mprogress">0 Produktbilder in der Mediathek gelÃ¶scht.</span></div>
+ 					<span id="idmedien" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 16) == 16) echo 'style="display:inline-block;"'; ?> ></span><br />
 					</div>
-
+ 
 			        <div style="height:48px;margin-bottom:3px;">
 			        <a class="m1c_button" title="Konvertieren der Produkte" id="idajax" href="#">Produkte</a>
@@ -478,5 +498,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0" 
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					<div style="display:inline-block; height:48px; vertical-align:middle">Konvertieren der Produkte/Varianten und Ãbernahme der Produktbilder in die Mediathek.<br /><span id="progress">0 Produkte konvertiert.</span></div>
+					<div style="display:inline-block; height:48px; vertical-align:middle">Konvertieren der Produkt-Varianten und Laden der Produktbilder in die Mediathek.<br /><span id="progress">0 Produkte konvertiert.</span></div>
+ 					<span id="idprodukt" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 32) == 32) echo 'style="display:inline-block;"'; ?> ></span><br />
 					</div>
 
@@ -485,5 +506,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Berechnen der Preise netto/brutto<br />
+					Berechnen der Preise netto/brutto
+ 					<span id="idpreise" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 64) == 64) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <a class="m1c_button" title="Konvertieren der Kategorien" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=category'); ?>">Kategorien</a>
@@ -491,5 +513,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Konvertieren der Kategorien<br />
+					Konvertieren der Kategorien
+ 					<span id="idcategory" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 128) == 128) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <a class="m1c_button" title="Lieferscheine in neue Verzeichnisstruktur kopieren" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=lief'); ?>">Lieferscheine</a>
@@ -497,5 +520,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Lieferscheine in die neue Verzeichnisstruktur kopieren<br />
+					Lieferscheine in die neue Verzeichnisstruktur kopieren
+ 					<span id="idlief" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 256) == 256) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <a class="m1c_button" title="Rechnungen in neue Verzeichnisstruktur kopieren" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=rech'); ?>">Rechnungen</a>
@@ -503,5 +527,6 @@
 					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
-					Rechnungen in die neue Verzeichnisstruktur kopieren<br />
+					Rechnungen in die neue Verzeichnisstruktur kopieren
+ 					<span id="idrech" class="glyphicon glyphicon-ok glyph_ok" title="Konvertierung erfolgt" <?php if (($status & 512) == 512) echo 'style="display:inline-block;"'; ?> ></span><br />
 
 			        <a class="m1c_button" title="LÃ¶schen der Thumbnails und Zippen der Produktbilder" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=zip'); ?>">Packen</a>
@@ -516,4 +541,10 @@
 					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
 					Entpacken der Produktbilder<br />
+
+			        <a class="m1c_button" title="Konverter beenden" href="<?php echo admin_url('admin.php?page=M1_Converter_dispatch&action=end&noheader=1'); ?>">Beenden</a>
+					<a href="#" data-wpsg-tip="M1C-Beenden"
+					rel="?page=wpsg-Admin&amp;subaction=loadHelp&amp;noheader=1&amp;field=Bestellung_0"
+					class="glyphicon glyphicon-question-sign" aria-hidden="true"></a>
+					Konverter beenden. SpÃ€terer manueller Start durch Aktivieren des Moduls.<br />
 
 					<!--
@@ -640,6 +671,6 @@
 jQuery(document).ready(function () {
 
-	//wpsg_ajaxBindM1C();
-	wpsg_ajaxBind();
+	wpsg_ajaxBindM1C();
+	//wpsg_ajaxBind();
 
 	// Konvertieren der Produkte und Varianteninformationen und
@@ -698,5 +729,5 @@
 		if (m1cauto === 0)
 			alert('Ãbernahme der Produktbilder und Varianteninformationen beendet.');
-
+		jQuery('#idprodukt').show();
 	    return false;
 	});
@@ -711,5 +742,6 @@
 		var i, anz;
 		anz = posts.length;
-		pid = posts[0].post_id;
+		//alert('Anzahl: ' + anz);
+		//pid = posts[0].post_id;
 
 		for (i = 0; i < anz; i++) {
@@ -736,5 +768,5 @@
 		}
 		if (m1cauto == 0) alert('Mediathek aufrÃ€umen beendet.');
-		
+		jQuery('#idmedien').show();
 	    return false;
 	});
@@ -746,4 +778,5 @@
 jQuery(document).on("click", "#idauto", function () {
 
+	// Buttons disable
 	jQuery('.m1c_button').bind('click', false);
 	m1cauto = 1;
@@ -753,10 +786,14 @@
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=allgemein&noheader=1');
 	progress(1);
+	jQuery('#idallgemein').show();
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=kunden&noheader=1');
 	progress(2);
+	jQuery('#idkunden').show();
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=order&noheader=1');
 	progress(3);
+	jQuery('#idorder').show();
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=anrede&noheader=1');
 	progress(4);
+	jQuery('#idanrede').show();
 
 	jQuery('#idmedia').unbind('click', false);
@@ -771,11 +808,16 @@
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=preis&noheader=1');
 	progress(7);
+	jQuery('#idpreise').show();
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=category&noheader=1');
 	progress(8);
+	jQuery('#idcategory').show();
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=lief&noheader=1');
 	progress(9);
+	jQuery('#idlief').show();
 	ajaxCall('admin.php?page=M1_Converter_dispatch&action=rech&noheader=1');
 	progress(10);
-
+	jQuery('#idrech').show();
+
+	// Buttons enable
 	jQuery('.m1c_button').unbind('click', false);
 	m1cauto = 0;
