Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 6475)
+++ /controller/wpsg_AdminController.class.php	(revision 6476)
@@ -330,5 +330,80 @@
 		{
 
-			return $this->shop->callMod('wpsg_mod_core', 'admin_registrierung');
+			if ($_REQUEST['do'] === 'activatemodul')
+			{
+				
+				if (!wpsg_isSizedString($_REQUEST['modulcode']))
+				{
+					
+					$this->addBackendError(__('Bitte einen Modulcode angeben.', 'wpsg'));
+					$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+					
+				}
+				else
+				{
+					 
+					$api_return = @json_decode($GLOBALS['wpsg_sc']->get_url_post_content('https://api.maennchen1.de/', array(
+						'f' => 'registerModule',
+						'data' => array(
+							'wpsg', $this->get_option('wpsg_key'), $_SERVER['HTTP_HOST'], $_REQUEST['modulcode']
+						)
+					)), true); 
+					
+					if (!wpsg_isSizedArray($api_return) || !isset($api_return['returnCode']))
+					{
+						
+						// API Fehler
+						$this->addBackendError(__('Registrierungsserver antwortet nicht.', 'wpsg'));
+						$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+					
+					}
+					else
+					{
+						
+						if ($api_return['returnCode'] === 0)
+						{
+							
+							$this->addBackendError(__('Ihre Lizenz ist ungÃŒltig.', 'wpsg'));
+							$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+							
+						}
+						else if ($api_return['returnCode'] === 1)
+						{
+							
+							$this->addBackendError(__('Modulcode wurde nicht akzeptiert.', 'wpsg'));
+							$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+							
+						}
+						else if ($api_return['returnCode'] === 2)
+						{
+							
+							$this->addBackendError(__('Modulcode wurde bereits verbraucht.', 'wpsg'));
+							$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+							
+						}
+						else if ($api_return['returnCode'] === 3)
+						{
+							
+							$api_return['wpsg_update_data']['updateData'] = (object)$api_return['wpsg_update_data']['updateData'];
+							
+							$GLOBALS['wpsg_sc']->update_option('wpsg_lastupdate', strval(time()), true);
+                    		$GLOBALS['wpsg_sc']->update_option('wpsg_updatedata', $api_return['wpsg_update_data'], true);
+							
+							$this->addBackendMessage(__('Modul wurde fÃŒr diesen LizenzschlÃŒssel aktiviert.', 'wpsg'));
+							$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module');
+							
+						}
+						else
+						{
+							die("I");
+						}
+						
+					}  
+					
+				}
+				
+			}
+			
+			//return $this->shop->callMod('wpsg_mod_core', 'admin_registrierung');
 
 		} // public function registrierungAction()
Index: /views/admin/module.phtml
===================================================================
--- /views/admin/module.phtml	(revision 6475)
+++ /views/admin/module.phtml	(revision 6476)
@@ -111,8 +111,31 @@
 		 	<div class="panel-body">
 	 	
+				<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=activatemodul">
+						
+					<fieldset>
+						<legend style="padding-top:0px;"><?php echo __('Modulcode aktivieren', 'wpsg'); ?></legend>
+										
+						<div class="row">
+							<div class="col-xs-10">
+								
+								<input required="required" type="text" class="form-control" name="modulcode" id="modulcode" />
+								
+							</div>
+							<div class="col-xs-2">
+								
+								<input class="btn btn-primary btn-block" type="submit" class="form-control" value="<?php echo __('PrÃŒfen', 'wpsg'); ?>" />
+								
+							</div>
+						</div>
+					</fieldset>
+					
+				</form>
+				
+				<hr />
+				
 				<?php $wpsg_update_data = wpsg_get_update_data(); ?>
 				<?php if (wpsg_isSizedArray($wpsg_update_data)) { ?>
 				
-					<table class="table">
+					<table class="table modultable">
   						<thead>
 							<tr>
@@ -125,5 +148,15 @@
 						<tbody>
 							<?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { ?>
-							<tr>
+							<tr style="font-style:normal;" class="
+							
+								<?php if ($modul_info['free'] === true) { ?>
+									<?php echo 'active'; ?>
+								<?php } else if ($modul_info['active'] === true) { ?>
+									<?php echo 'success'; ?>
+								<?php } else { ?>
+									<?php echo 'info'; ?>
+								<?php } ?>
+							
+							">
 								<td><?php echo $modul_info['label']; ?></td>
 								<td>
@@ -141,5 +174,11 @@
 										<?php echo __('enthalten', 'wpsg'); ?>
 									<?php } else { ?>
+										
+										<?php if (wpsg_isSizedString($modul_info['url_shop'])) { ?>
 										<a href="<?php echo $modul_info['url_shop']; ?>" target="_blank"><?php echo __('Modulcode hier erwerben', 'wpsg'); ?></a>
+										<?php } else { ?>
+										<a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode hier erwerben', 'wpsg'); ?></a>
+										<?php } ?>
+										
 									<?php } ?>
 									
@@ -152,5 +191,5 @@
 									{
 										
-										echo ' ('.__('aktuell', 'wpsg').')';
+										echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
 										
 									}
@@ -158,6 +197,13 @@
 									{
 										
-										echo ' '.wpsg_translate(__('neue Version verfÃŒgbar (<a href="#1#">wpShopGermany Update</a> notwendig)', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
-										
+										echo ' - <strong class="wpsg_error">'.__('neue Version verfÃŒgbar', 'wpsg').'</strong><br />'.wpsg_translate(__('<a href="#1#">wpShopGermany Update</a> notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
+										
+									}
+									else if (version_compare($modul_info['version'], $this->arAllModule[$modul_key]->versio) > 0) 
+									{
+										
+										echo ' - <strong class="wpsg_error">'.__('neue Version verfÃŒgbar', 'wpsg').'</strong><br />';
+										echo wpsg_translate(__('Version <a href="#1#">installieren</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key); 
+									
 									}
 									
@@ -167,5 +213,5 @@
 						</tbody>
 					</table>
-					
+										
 				<?php } else { ?>
 				
Index: /views/css/admin.css
===================================================================
--- /views/css/admin.css	(revision 6475)
+++ /views/css/admin.css	(revision 6476)
@@ -38,4 +38,5 @@
 #wpsg-bs .wpsg-glyphlink-td > span { margin-left:5px; margin-top:5px; }
 #wpsg-bs .wpsg-glyphlink-td:hover { text-decoration:none; }
+#wpsg-bs .wpsg_message_ok { color:green; }
 #wpsg-bs .wpsg_error { color:red; }
 #wpsg-bs .form-group-sm .form-control { padding-left:8px; }
@@ -194,4 +195,5 @@
 .wpsg_modul_onlyactive_glyphicon { position:absolute !important; right:5px; top:7px !important; color:#3c763d; }
 .wpsg_modul_search_wrap input[type="checkbox"] { right:25px; top:3px; position:absolute; }
+#wpsg-bs .modultable td { padding:4px 8px !important; }
 
 /* Verwaltung Versandzonen */
Index: /wpshopgermany.php
===================================================================
--- /wpshopgermany.php	(revision 6475)
+++ /wpshopgermany.php	(revision 6476)
@@ -14,5 +14,5 @@
 	//error_reporting(E_ALL); ini_set("display_errors", "1");
 
-	define('WPSG_VERSION', '9.9.9');
+	define('WPSG_VERSION', '29.9.9');
 
 	global $wpdb;
