Index: /mods/wpsg_mod_si.class.php
===================================================================
--- /mods/wpsg_mod_si.class.php	(revision 5539)
+++ /mods/wpsg_mod_si.class.php	(revision 5541)
@@ -69,4 +69,5 @@
 			
 			$this->shop->update_option('wpsg_mod_si_minAge', $_REQUEST['wpsg_mod_si_minAge']);
+			$this->shop->update_option('wpsg_mod_si_country', $_REQUEST['wpsg_mod_si_country']);
 			
 		} // public function settings_save() 
@@ -234,4 +235,22 @@
 			if ($min_age === 0) return false;
 			
+			// Wenn Option "FÃŒr Ausland deaktivieren" aktiv sind
+			if ($this->shop->get_option("wpsg_mod_si_country") == "1")
+			{
+			
+				// Land mit Geo-IP ist ungleich des Standardland = return false;
+				if (wpsg_isSizedString($_SERVER['GEOIP_COUNTRY_CODE']))
+				{
+						
+					$default_country = $this->shop->getDefaultCountry();
+			
+					// Kennung wird in Kleinbuchstaben umgewandelt (strtolower)
+					if (strtolower($_SERVER['GEOIP_COUNTRY_CODE']) != strtolower($default_country->kuerzel))
+						return false;
+						
+				}
+			
+			}
+			
 			if (!wpsg_isSizedInt($oOrder->getMeta('wpsg_mod_si_age')) || $oOrder->getMeta('wpsg_mod_si_age') < $min_age) return true;
 			else return false;
Index: /views/mods/mod_si/settings_edit.phtml
===================================================================
--- /views/mods/mod_si/settings_edit.phtml	(revision 5539)
+++ /views/mods/mod_si/settings_edit.phtml	(revision 5541)
@@ -27,2 +27,6 @@
 
 <?php echo wpsg_drawForm_Input('', __('RÃŒcksprung-URL', 'wpsg'), $this->view['wpsg_mod_si']['returnURL'], array('readonly' => true, 'help' => 'wpsg_mod_si_returnURL')); ?>
+
+<br /> 
+
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_si_country', __('PrÃŒfung fÃŒr Ausland deaktivieren', 'wpsg'), $this->get_option('wpsg_mod_si_country'), array('help' => 'wpsg_mod_si_country')); ?>
