Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 5560)
+++ /controller/wpsg_AdminController.class.php	(revision 5562)
@@ -789,96 +789,51 @@
 		{
 			
-			if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'saveNew')
-			{
-				
-				if (!wpsg_isSizedString($_REQUEST['newland']['name']))
-				{
-					
-					$this->shop->addBackendError(__('Bitte einen Namen fÃŒr das neue Land angeben.', 'wpsg'));
-					
-				}
-				else 
-				{
-					
-					$land = $_REQUEST['newland'];
-					
-					$land_id = $this->db->ImportQuery(WPSG_TBL_LAND, array(						
-						'name' => wpsg_q($land['name']),
-						'kuerzel' => wpsg_q($land['kuerzel']),
-						'vz' => wpsg_q($land['vz']),
-						'mwst' => wpsg_q($land['mwst']),
-						'mwst_a' => ((wpsg_tf($land['mwst_a']) >= 0 && wpsg_tf($land['mwst_a']) !== '')?wpsg_q(wpsg_tf($land['mwst_a'])):'NULL'),
-						'mwst_b' => ((wpsg_tf($land['mwst_b']) >= 0 && wpsg_tf($land['mwst_b']) !== '')?wpsg_q(wpsg_tf($land['mwst_b'])):'NULL'),
-						'mwst_c' => ((wpsg_tf($land['mwst_c']) >= 0 && wpsg_tf($land['mwst_c']) !== '')?wpsg_q(wpsg_tf($land['mwst_c'])):'NULL'),
-						'mwst_d' => ((wpsg_tf($land['mwst_d']) >= 0 && wpsg_tf($land['mwst_d']) !== '')?wpsg_q(wpsg_tf($land['mwst_d'])):'NULL')
-					));
-					
-					if (wpsg_isSizedInt($land['standard'])) $this->shop->update_option('wpsg_defaultland', $land_id);
-					
-					$this->shop->addTranslationString('land_'.$land_id, $land['name']);
-					$this->shop->addTranslationString('landkrzl_'.$land_id, $land['kuerzel']);
-					
-					$this->shop->addBackendMessage(__('Land wurde erfolgreich gespeichert.', 'wpsg'));
-					
-				}
-				
-				$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=laender'); 
-				
-			}
-			else if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'saveEdit')
-			{
-				
-				$land = array();
-				parse_str($_REQUEST['form_data'], $land);
-				$land = $land['land'];
-			
-				if (!wpsg_isSizedInt($land['id'])) $this->shop->throwErrorCode('100_9');
-				
-				$this->db->UpdateQuery(WPSG_TBL_LAND, array(
-					'name' => wpsg_q($land['name']),
-					'kuerzel' => wpsg_q($land['kuerzel']),
-					'vz' => wpsg_q($land['vz']),
-					'mwst' => wpsg_q($land['mwst']),
-					'mwst_a' => ((wpsg_tf($land['mwst_a']) >= 0 && wpsg_tf($land['mwst_a']) !== '')?wpsg_q(wpsg_tf($land['mwst_a'])):'NULL'),
-					'mwst_b' => ((wpsg_tf($land['mwst_b']) >= 0 && wpsg_tf($land['mwst_b']) !== '')?wpsg_q(wpsg_tf($land['mwst_b'])):'NULL'),
-					'mwst_c' => ((wpsg_tf($land['mwst_c']) >= 0 && wpsg_tf($land['mwst_c']) !== '')?wpsg_q(wpsg_tf($land['mwst_c'])):'NULL'),
-					'mwst_d' => ((wpsg_tf($land['mwst_d']) >= 0 && wpsg_tf($land['mwst_d']) !== '')?wpsg_q(wpsg_tf($land['mwst_d'])):'NULL')						
-				), " `id` = '".wpsg_q($land['id'])."' ");
-				
-				if (wpsg_isSizedInt($land['standard'])) $this->shop->update_option('wpsg_defaultland', $land['id']);
-				
-				$this->shop->addTranslationString('land_'.$land['id'], $land['name']);
-				$this->shop->addTranslationString('landkrzl_'.$land['id'], $land['kuerzel']);
-				
-				$land_db = $this->db->fetchRow("
-					SELECT
-						L.`id` AS `id`,
-						(IF (LENGTH(L.`kuerzel`) > 0, CONCAT(L.`name`, ' (', L.`kuerzel`, ')'), L.`name`)) AS `name`,
-						VZ.`name` AS `vz`,
-						(
-							CASE L.`mwst` 
-								WHEN '2' THEN '".__('keine MwSt. bei USt.IdNr.', 'wpsg')."'
-								WHEN '1' THEN '".__('keine MwSt.', 'wpsg')."'
-								ELSE '".__('mit MwSt.', 'wpsg')."'
-								END
-						) AS `mwst`,
-						L.`mwst_a`, L.`mwst_b`, L.`mwst_c`, L.`mwst_d`
-					FROM
-						`".WPSG_TBL_LAND."` AS L 
-							LEFT JOIN `".WPSG_TBL_VZ."` AS VZ ON (L.`vz` = VZ.`id`)
-					WHERE
-						L.`id` = '".wpsg_q($land['id'])."'
-				");
-				
-				if ($this->shop->get_option('wpsg_defaultland') == $land['id']) $land_db['standard'] = '1';
-				
-				if (wpsg_tf($land_db['mwst_a']) >= 0 && wpsg_tf($land_db['mwst_a']) != '') $land_db['mwst_a'] = wpsg_ff(wpsg_tf($land_db['mwst_a']), '%'); else $land_db['mwst_a'] = '';
-				if (wpsg_tf($land_db['mwst_b']) >= 0 && wpsg_tf($land_db['mwst_b']) != '') $land_db['mwst_b'] = wpsg_ff(wpsg_tf($land_db['mwst_b']), '%'); else $land_db['mwst_b'] = '';
-				if (wpsg_tf($land_db['mwst_c']) >= 0 && wpsg_tf($land_db['mwst_c']) != '') $land_db['mwst_c'] = wpsg_ff(wpsg_tf($land_db['mwst_c']), '%'); else $land_db['mwst_c'] = '';
-				if (wpsg_tf($land_db['mwst_d']) >= 0 && wpsg_tf($land_db['mwst_d']) != '') $land_db['mwst_d'] = wpsg_ff(wpsg_tf($land_db['mwst_d']), '%'); else $land_db['mwst_d'] = '';
-				 
-				header('Content-Type: application/json');
-				
-				die(json_encode($land_db));
+			if (isset($_REQUEST['submit']))
+			{
+
+				if (!wpsg_isSizedArray($_REQUEST['arDelete']))
+				{
+
+					$this->addBackendError(__('Bitte mindestens ein Land zum lÃ¶schen auswÃ€hlen.', 'wpsg'));
+
+				}
+				else
+				{
+
+					foreach ($_REQUEST['arDelete'] as $country_id => $c)
+					{
+
+						$oCountry = wpsg_country::getInstance($country_id);
+						$oCountry->delete();
+
+					}
+
+				}
+
+				$this->addBackendMessage(__('Die markierten LÃ€nder wurden erfolgreich gelÃ¶scht.', 'wpsg'));
+
+				$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=laender');
+			}
+			
+			if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'save')
+			{
+
+				$form_data = array(); parse_str($_REQUEST['form_data'], $form_data);
+
+				if (wpsg_isSizedInt($form_data['id']))
+				{
+
+					$this->db->UpdateQuery(WPSG_TBL_LAND, wpsg_q($form_data), " `id` = '".wpsg_q($form_data['id'])."' ");
+
+				}
+				else
+				{
+
+					$this->db->ImportQuery(WPSG_TBL_LAND, wpsg_q($form_data));
+
+				}
+
+				wpsg_debug($form_data);
+				die(wpsg_debug($_REQUEST));
 				
 			}
@@ -904,9 +859,25 @@
 			else if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'remove')
 			{
-				
-				$this->db->Query("DELETE FROM `".WPSG_TBL_LAND."` WHERE `id` = '".wpsg_q($_REQUEST['land_id'])."' ");
+
+				$oCountry = wpsg_country::getInstance($_REQUEST['land_id']);
+				$oCountry->delete();
 				
 				die("1");
 				
+			}
+			else if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'add')
+			{
+
+				$this->shop->view['vz'] = $this->db->fetchAssocField("SELECT `id`, `name` FROM `".WPSG_TBL_VZ."` ORDER BY `name` ASC", "id", "name");
+
+				$this->shop->view['land']['mwst_a'] = '';
+				$this->shop->view['land']['mwst_b'] = '';
+				$this->shop->view['land']['mwst_c'] = '';
+				$this->shop->view['land']['mwst_d'] = '';
+
+				$this->shop->view['land']['standard'] = '0';
+
+				die($this->shop->render(WPSG_PATH_VIEW.'/admin/laender_edit.phtml'));
+
 			}
 			else if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'edit')
@@ -1185,5 +1156,7 @@
 				
 				$this->shop->addBackendMessage(__('E-Mail Konfiguration erfolgreich gespeichert.', 'wpsg'));
-				
+
+				$this->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf');
+
 			}
 			
Index: /model/wpsg_country.class.php
===================================================================
--- /model/wpsg_country.class.php	(revision 5560)
+++ /model/wpsg_country.class.php	(revision 5562)
@@ -28,4 +28,14 @@
 				
 		} // public function load($deliverynote_id)
+
+		/**
+		 * LÃ¶scht das Land
+		 */
+		public function delete()
+		{
+
+			$this->db->Query("DELETE FROM `".WPSG_TBL_LAND."` WHERE `id` = '".wpsg_q($this->id)."' ");
+
+		} // public function delete()
 		
 		/**
Index: /mods/wpsg_mod_produktartikel.class.php
===================================================================
--- /mods/wpsg_mod_produktartikel.class.php	(revision 5560)
+++ /mods/wpsg_mod_produktartikel.class.php	(revision 5562)
@@ -559,5 +559,5 @@
 				),
 				'show_ui' => true,
-				'show_in_menu' => true,
+				'show_in_menu' => false,
 				'hierarchical' => true
 			));
@@ -573,5 +573,5 @@
 					'rewrite' => array('slug' => $this->shop->get_option('wpsg_mod_produktartikel_pathkey')),
 					'show_ui' => $show_ui,
- 					'show_in_menu' => true,
+ 					'show_in_menu' => false,
 					'taxonomies' => array('wpsg-tax'),
 					'has_archive' => true,
Index: /views/admin/emailconf.phtml
===================================================================
--- /views/admin/emailconf.phtml	(revision 5560)
+++ /views/admin/emailconf.phtml	(revision 5562)
@@ -19,5 +19,5 @@
 
 <div class="wpsg_admin_content form-horizontal">
-	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=extended&noheader=1'); ?>">
+	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf&noheader=1'); ?>">
 	
 		<?php echo wpsg_drawForm_AdminboxStart('Allgemeine Einstellungen', 'wpsg'); ?>
@@ -85,5 +85,5 @@
 			wpsg_mail_save_cookie();
 			
-		} ).disableSelection().next().hide();
+		} ).css( { 'cursor': 'pointer' } ).disableSelection().next().hide();
 
 		if (jQuery.cookie('wpsg_mail') != null)
Index: /views/admin/form/emailconf.phtml
===================================================================
--- /views/admin/form/emailconf.phtml	(revision 5560)
+++ /views/admin/form/emailconf.phtml	(revision 5562)
@@ -6,5 +6,5 @@
 
 	<?php if ($this->view['field_to'] === true) { ?>
-	<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('EmpfÃ€nger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$key.'_empfaenger')); ?>
+	<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('EmpfÃ€nger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$this->view['field_key'].'_empfaenger')); ?>
 	<?php } ?>
 	
@@ -22,22 +22,38 @@
 		<br />
 		
-	<?php } ?>	
-	
-	<?php 
-	
-	// RTE
-	ob_start();
-	wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
-	$rte_content = ob_get_contents();
-	ob_end_clean();
+	<?php } ?>
 
-	?>
-	
-	<div class="wpsg_form_field">
-		<div class="wpsg_form_left"><label><?php echo __('Text unter der E-Mail', 'wpsg'); ?></label></div>
-		<div class="wpsg_form_right"></div><div class="wpsg_clear"></div>
-	</div>
+	<div class="modal fade" tabindex="-1" role="dialog" id="modal<?php echo $this->view['field_key']; ?>">
+		<div class="modal-dialog">
+			<div class="modal-content">
+				<div class="modal-header">
+					<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+					<h4 class="modal-title"><?php echo __('Text im Footer der Mail bearbeiten', 'wpsg'); ?></h4>
+				</div>
+				<div class="modal-body">
 
-	<?php echo $rte_content; ?>
+					<?php
+
+						// RTE
+						ob_start();
+						wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
+						$rte_content = ob_get_contents();
+						ob_end_clean();
+
+						echo $rte_content;
+
+					?>
+
+				</div>
+				<div class="modal-footer">
+					<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('SchlieÃen', 'wpsg'); ?></button>
+				</div>
+			</div><!-- /.modal-content -->
+		</div><!-- /.modal-dialog -->
+	</div><!-- /.modal -->
+
+	<?php echo wpsg_drawForm_TextStart(); ?>
+	<a href="#" data-toggle="modal" data-target="#modal<?php echo $this->view['field_key']; ?>"><?php echo __('Text anzeigen/bearbeiten', 'wpsg'); ?></a>
+	<?php echo wpsg_drawForm_TextEnd(__('Text unter der E-Mail', 'wpsg')); ?>
 
 	<?php if (wpsg_isSizedString($notice)) { ?>
Index: /views/admin/laender.phtml
===================================================================
--- /views/admin/laender.phtml	(revision 5560)
+++ /views/admin/laender.phtml	(revision 5562)
@@ -17,65 +17,168 @@
 </div>
 
+<div class="modal fade" id="Modal_wpsg_country_edit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
+	<div class="modal-dialog" role="document">
+		<div class="modal-content">
+			<div class="modal-header">
+				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+				<h4 class="modal-title" id="myModalLabel"><?php echo __('Land anlegen/bearbeiten', 'wpsg'); ?></h4>
+			</div>
+			<div class="modal-body">
+
+			</div>
+			<div class="modal-footer">
+				<button type="button" class="btn btn-default" onclick="return wpsg_country_save();" data-dismiss="modal"><?php echo __('Speichern und schlieÃen', 'wpsg'); ?></button>
+			</div>
+		</div>
+	</div>
+</div>
+
 <div class="wpsg_admin_content">
 
-	<?php echo wpsg_drawForm_AdminboxStart(__('LÃ€nderverwaltung', 'wpsg')); ?>
-	
-	<?php if (wpsg_isSizedArray($this->view['data'])) { ?>
-	<table class="table wpsg_table_country">
-	
-		<tr>
-			<th class="col_name"><?php echo __('LÃ€ndername', 'wpsg'); ?></th>
-			<th class="col_vz"><?php echo __('Versandzone', 'wpsg'); ?></th>
-			<th class="col_mwstsetting"><?php echo __('MwSt.', 'wpsg'); ?></th>
-			<th class="col_mwst"><?php echo __('MwSt. A', 'wpsg'); ?></th>
-			<th class="col_mwst"><?php echo __('MwSt. B', 'wpsg'); ?></th>
-			<th class="col_mwst"><?php echo __('MwSt. C', 'wpsg'); ?></th>
-			<th class="col_mwst"><?php echo __('MwSt. D', 'wpsg'); ?></th>
-			<th class="col_action"></th>
-		</tr>
-		
-		<?php foreach ($this->view['data'] as $l) { ?>
-		<tr id="<?php echo $l['id']; ?>">
-			<td class="col_name"><?php echo wpsg_hspc($l['name'].((wpsg_isSizedString($l['kuerzel']))?' ('.$l['kuerzel'].')':'')); ?></td>
-			<td class="col_vz">
-				<?php if (wpsg_isSizedInt($l['vz']) && wpsg_isSizedString($this->view['vz'][$l['vz']])) { ?>
-				<?php echo wpsg_hspc($this->view['vz'][$l['vz']]); ?>
+	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&noheader=1'); ?>">
+
+		<?php echo wpsg_drawForm_AdminboxStart(__('LÃ€nderverwaltung', 'wpsg')); ?>
+
+		<div id="wpsg_country_list">
+
+			<?php if (wpsg_isSizedArray($this->view['data'])) { ?>
+			<table class="table wpsg_table_country">
+
+				<tr>
+					<th class="col_check"><input type="checkbox" onclick="return wpsg_country_check_all();" style="margin-top:-2px;" /></th>
+					<th class="col_name"><?php echo __('LÃ€ndername', 'wpsg'); ?></th>
+					<th class="col_vz"><?php echo __('Versandzone', 'wpsg'); ?></th>
+					<th class="col_mwstsetting"><?php echo __('MwSt.', 'wpsg'); ?></th>
+					<th class="col_mwst"><?php echo __('MwSt. A', 'wpsg'); ?></th>
+					<th class="col_mwst"><?php echo __('MwSt. B', 'wpsg'); ?></th>
+					<th class="col_mwst"><?php echo __('MwSt. C', 'wpsg'); ?></th>
+					<th class="col_mwst"><?php echo __('MwSt. D', 'wpsg'); ?></th>
+					<th class="col_action"></th>
+				</tr>
+
+				<?php foreach ($this->view['data'] as $l) { ?>
+				<tr id="<?php echo $l['id']; ?>">
+					<td class="col_check"><input type="checkbox" value="1" name="arDelete[<?php echo $l['id']; ?>]" /></td>
+					<td class="col_name"><?php echo wpsg_hspc($l['name'].((wpsg_isSizedString($l['kuerzel']))?' ('.$l['kuerzel'].')':'')); ?></td>
+					<td class="col_vz">
+						<?php if (wpsg_isSizedInt($l['vz']) && wpsg_isSizedString($this->view['vz'][$l['vz']])) { ?>
+						<?php echo wpsg_hspc($this->view['vz'][$l['vz']]); ?>
+						<?php } ?>
+					</td>
+					<td class="col_mwstsetting">
+						<?php if ($l['mwst'] == '2') { ?>
+						<?php echo __('keine MwSt. bei USt.IdNr.', 'wpsg'); ?>
+						<?php } else if ($l['mwst'] == '1') { ?>
+						<?php echo __('keine MwSt.', 'wpsg'); ?>
+						<?php } else { ?>
+						<?php echo __('mit MwSt.', 'wpsg'); ?>
+						<?php } ?>
+					</td>
+					<td class="col_mwst"><?php if (wpsg_tf($l['mwst_a']) != NULL) { ?>
+						<?php echo wpsg_ff(wpsg_tf($l['mwst_a']), '%'); ?>
+					<?php } ?></td>
+					<td class="col_mwst"><?php if (wpsg_tf($l['mwst_b']) != NULL) { ?>
+						<?php echo wpsg_ff(wpsg_tf($l['mwst_b']), '%'); ?>
+					<?php } ?></td>
+					<td class="col_mwst"><?php if (wpsg_tf($l['mwst_c']) != NULL) { ?>
+						<?php echo wpsg_ff(wpsg_tf($l['mwst_c']), '%'); ?>
+					<?php } ?></td>
+					<td class="col_mwst"><?php if (wpsg_tf($l['mwst_d']) != NULL) { ?>
+						<?php echo wpsg_ff(wpsg_tf($l['mwst_d']), '%'); ?>
+					<?php } ?></td>
+					<td class="col_action">
+
+						<a href="#" onclick="return wpsg_country_edit('<?php echo $l['id']; ?>');" class="glyphicon glyphicon-pencil"></a>
+						<a href="#" class="glyphicon glyphicon-trash"></a>
+
+					</td>
+				</tr>
 				<?php } ?>
-			</td>
-			<td class="col_mwstsetting">
-				<?php if ($l['mwst'] == '2') { ?>
-				<?php echo __('keine MwSt. bei USt.IdNr.', 'wpsg'); ?>
-				<?php } else if ($l['mwst'] == '1') { ?>
-				<?php echo __('keine MwSt.', 'wpsg'); ?>
-				<?php } else { ?>
-				<?php echo __('mit MwSt.', 'wpsg'); ?>
-				<?php } ?>
-			</td>
-			<td class="col_mwst"><?php if (wpsg_tf($l['mwst_a']) != NULL) { ?>
-				<?php echo wpsg_ff(wpsg_tf($l['mwst_a']), '%'); ?>
-			<?php } ?></td>
-			<td class="col_mwst"><?php if (wpsg_tf($l['mwst_b']) != NULL) { ?>
-				<?php echo wpsg_ff(wpsg_tf($l['mwst_b']), '%'); ?>
-			<?php } ?></td>
-			<td class="col_mwst"><?php if (wpsg_tf($l['mwst_c']) != NULL) { ?>
-				<?php echo wpsg_ff(wpsg_tf($l['mwst_c']), '%'); ?>
-			<?php } ?></td>
-			<td class="col_mwst"><?php if (wpsg_tf($l['mwst_d']) != NULL) { ?>
-				<?php echo wpsg_ff(wpsg_tf($l['mwst_d']), '%'); ?>
-			<?php } ?></td>
-			<td class="col_action"></td>
-		</tr>
-		<?php } ?>
-	
-	</table>
-	<?php } else { ?>
-	<p><?php echo __('Noch keine LÃ€nder angelegt.', 'wpsg'); ?>
-	<?php } ?>
-	
-	<br /><br />
-	
+
+				<tr>
+
+					<td class="col_check"><span class="glyphicon glyphicon-trash"></span></td>
+					<td colspan="8">
+
+						<input type="submit" name="submit" onclick="return confirm('<?php echo __('Sind Sie sich sicher?', 'wpsg'); ?>');" class="button btn-xs" value="<?php echo __('Markierte LÃ€nder lÃ¶schen', 'wpsg'); ?>" />
+
+					</td>
+
+				</tr>
+
+			</table>
+			<?php } else { ?>
+			<p><?php echo __('Noch keine LÃ€nder angelegt.', 'wpsg'); ?></p>
+			<?php } ?>
+
+		</div>
+
+		<br />
+
+	</form>
+
+	<a href="#" onclick="return wpsg_country_add();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neues Land anlegen.', 'wpsg'); ?></a><br /><br />
 	<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=vz"><span class="wpsg-glyphicon glyphicon glyphicon-wrench"></span><?php echo __('Zur Versandzonenverwaltung', 'wpsg'); ?></a>
 	
 	<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+
+	<script type="text/javascript">/* <![CDATA[ */
+
+	    function wpsg_country_check_all() { jQuery('td.col_check input').each(function() { jQuery(this).prop('checked', !jQuery(this).prop('checked')); } ); }
+
+		function wpsg_country_add()
+		{
+
+			jQuery('#Modal_wpsg_country_edit .modal-body').html('<img src="<?php echo $this->getRessourceURL('gfx/ajax-loader.gif'); ?>" alt="" />');
+			jQuery('#Modal_wpsg_country_edit').modal('show');
+
+			jQuery.ajax( {
+				url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=add&noheader=1',				
+				success: function(data) { jQuery('#Modal_wpsg_country_edit .modal-body').html(data); }
+			} );
+			
+			return false;
+
+		} // function wpsg_country_add()
+
+		function wpsg_country_save()
+		{
+
+			jQuery('#wpsg_country_list').html('<img src="<?php echo $this->getRessourceURL('gfx/ajax-loader.gif'); ?>" alt="" />');
+
+			jQuery.ajax( {
+				url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=save&noheader=1',
+				data: {
+					form_data: jQuery('#wpsg_land_edit_form_edit').serialize()
+				},
+				success: function(data) {
+
+					jQuery('#wpsg_country_list').html(data);
+
+				}
+			} );
+
+		} // function wpsg_country_save()
+
+		function wpsg_country_edit(land_id)
+		{
+
+			jQuery('#Modal_wpsg_country_edit .modal-body').html('<img src="<?php echo $this->getRessourceURL('gfx/ajax-loader.gif'); ?>" alt="" />');
+			jQuery('#Modal_wpsg_country_edit').modal('show');
+
+			jQuery.ajax( {
+				url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=edit&noheader=1&land_id' + land_id,
+				success: function(data) { jQuery('#Modal_wpsg_country_edit .modal-body').html(data); }
+			} );
+
+			return false;
+
+		} // function wpsg_country_edit(edit_id)
+
+	/* ]]> */</script>
+
+
+
+
 
 	<div class="wpsg_admin_box">	
Index: /views/admin/laender_edit.phtml
===================================================================
--- /views/admin/laender_edit.phtml	(revision 5560)
+++ /views/admin/laender_edit.phtml	(revision 5562)
@@ -1,29 +1,17 @@
-<form method="post" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=saveNew&noheader=1" id="<?php echo ((wpsg_isSizedInt($this->view['land']['id']))?'wpsg_land_edit_form_edit':'wpsg_land_edit_form_new'); ?>">
+<form id="wpsg_land_edit_form_edit" class="form-horizontal">
 
-	<?php if (wpsg_isSizedInt($this->view['land']['id'])) $prefix = 'land'; else $prefix = 'newland'; ?>
-
-	<?php echo wpsg_drawForm_Input($prefix.'[name]', __('LÃ€ndername', 'wpsg'), wpsg_getStr($this->view['land']['name']), array('help' => 'wpsg_land_name')); ?>
-	<?php echo wpsg_drawForm_Input($prefix.'[kuerzel]', __('KÃŒrzel', 'wpsg'), wpsg_getStr($this->view['land']['kuerzel']), array('help' => 'wpsg_land_kuerzel')); ?>
-	<?php echo wpsg_drawForm_Select($prefix.'[vz]', __('Versandzone', 'wpsg'), $this->view['vz'], wpsg_getStr($this->view['land']['vz']), array('help' => 'wpsg_land_vz')); ?>
-	<?php echo wpsg_drawForm_Select($prefix.'[mwst]', __('MwSt. Grundlage', 'wpsg'), array(
+	<?php echo wpsg_drawForm_Input('country[name]', __('LÃ€ndername', 'wpsg'), wpsg_getStr($this->view['land']['name']), array('help' => 'wpsg_land_name')); ?>
+	<?php echo wpsg_drawForm_Input('country[kuerzel]', __('KÃŒrzel', 'wpsg'), wpsg_getStr($this->view['land']['kuerzel']), array('help' => 'wpsg_land_kuerzel')); ?>
+	<?php echo wpsg_drawForm_Select('country[vz]', __('Versandzone', 'wpsg'), $this->view['vz'], wpsg_getStr($this->view['land']['vz']), array('help' => 'wpsg_land_vz')); ?>
+	<?php echo wpsg_drawForm_Select('country[mwst]', __('MwSt. Grundlage', 'wpsg'), array(
 		'0' => __('mit MwSt.', 'wpsg'),
 		'1' => __('keine MwSt.', 'wpsg'),
 		'2' => __('keine MwSt. bei USt.IdNr.', 'wpsg')
 	), wpsg_getStr($this->view['land']['mwst']), array('help' => 'wpsg_land_mwst')); ?>
-	<?php echo wpsg_drawForm_Input($prefix.'[mwst_a]', __('MwSt. Satz A (stark ermÃ€Ãigter Satz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_a']), array('help' => 'wpsg_land_mwst_a')); ?>
-	<?php echo wpsg_drawForm_Input($prefix.'[mwst_b]', __('MwSt. Satz B (ermÃ€Ãigter Satz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_b']), array('help' => 'wpsg_land_mwst_b')); ?>
-	<?php echo wpsg_drawForm_Input($prefix.'[mwst_c]', __('MwSt. Satz C (Normalsatz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_c']), array('help' => 'wpsg_land_mwst_c')); ?>
-	<?php echo wpsg_drawForm_Input($prefix.'[mwst_d]', __('MwSt. Satz D (Zwischensatz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_d']), array('help' => 'wpsg_land_mwst_d')); ?>
-	<?php echo wpsg_drawForm_Checkbox($prefix.'[standard]', __('Standardland', 'wpsg'), wpsg_getStr($this->view['land']['standard']), array('disabled' => ((isset($this->view['land']['standard']) && $this->view['land']['standard'] == '1')?true:false), 'help' => 'wpsg_land_standard')); ?>
-	
-	<?php if (wpsg_isSizedInt($this->view['land']['id'])) { ?>
-	<input type="hidden" name="<?php echo $prefix; ?>[id]" value="<?php echo wpsg_hspc($this->view['land']['id']); ?>" />
-	<?php } ?>
-	
-	<br />
-	
-	<input class="button" type="submit" onclick="return <?php echo ((wpsg_isSizedInt($this->view['land']['id']))?'wpsg_laender_save();':''); ?>" value="<?php echo __('Speichern', 'wpsg'); ?>" />
-		
-	<br /><br ><hr />
-	
+	<?php echo wpsg_drawForm_Input('country[mwst_a]', __('MwSt. Satz A (stark ermÃ€Ãigter Satz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_a']), array('help' => 'wpsg_land_mwst_a')); ?>
+	<?php echo wpsg_drawForm_Input('country[mwst_b]', __('MwSt. Satz B (ermÃ€Ãigter Satz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_b']), array('help' => 'wpsg_land_mwst_b')); ?>
+	<?php echo wpsg_drawForm_Input('country[mwst_c]', __('MwSt. Satz C (Normalsatz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_c']), array('help' => 'wpsg_land_mwst_c')); ?>
+	<?php echo wpsg_drawForm_Input('country[mwst_d]', __('MwSt. Satz D (Zwischensatz)', 'wpsg'), wpsg_getStr($this->view['land']['mwst_d']), array('help' => 'wpsg_land_mwst_d')); ?>
+	<?php echo wpsg_drawForm_Checkbox('country[standard]', __('Standardland', 'wpsg'), wpsg_getStr($this->view['land']['standard']), array('disabled' => ((isset($this->view['land']['standard']) && $this->view['land']['standard'] == '1')?true:false), 'help' => 'wpsg_land_standard')); ?>
+
 </form>
Index: /views/css/admin.css
===================================================================
--- /views/css/admin.css	(revision 5560)
+++ /views/css/admin.css	(revision 5562)
@@ -42,8 +42,13 @@
 
 /* LÃ€nderverwaltung */
+.wpsg_table_country { margin-bottom:0px; }
+.wpsg_table_country .col_mwst { width:25px; }
 .wpsg_table_country .col_mwst { width:75px; }
-.wpsg_table_country .col_action { width:35px; }
- 
-/* Tabelle der Berechtigungen */
+.wpsg_table_country .col_mwstsetting { width:100px; }
+.wpsg_table_country .col_vz { width:100px; }
+.wpsg_table_country .col_action { width:60px; text-align:right; }
+.wpsg_table_country .col_action a { margin-left:5px; }
+
+    /* Tabelle der Berechtigungen */
 .wpsg_access_table .wpsg_col_cap { text-align:center; }
 
