Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9499)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9500)
@@ -24,4 +24,9 @@
      - added functions needed for mcinfo.php
 
+   * datacenter/db/menu.php, datacenter/db/magicdefs.php:
+     - added limit for cloudiness
+
+   * datacenter/db/sequinfo-aio.php:
+     - removed $_GET from some functions
 
 
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 9499)
+++ trunk/MagicSoft/Mars/NEWS	(revision 9500)
@@ -106,4 +106,6 @@
      management, more comfortable sequence selection, 'get data set' 
      button and other small features
+
+   * added limit for cloudiness for sequences in the tab 'Limits'
 
  ;automation:
Index: trunk/MagicSoft/Mars/datacenter/db/magicdefs.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/magicdefs.php	(revision 9499)
+++ trunk/MagicSoft/Mars/datacenter/db/magicdefs.php	(revision 9500)
@@ -62,4 +62,5 @@
      "fMaxHumLimit"      => "fMaxHumidity",
      "fRelTimeMaxLimit"  => "fEffOnTime/fRunTime",
+     "fCloudinessLimit"  => "fAvgCloudiness",
     );
 
@@ -355,4 +356,5 @@
      "fIMCLimit"                        => "IMC",
      "fMaxHumLimit"                     => "Humidity",
+     "fCloudinessLimit"                 => "Cloudiness",
      "fZdMinLimit"                      => "ZdMin",
      "fZdMaxLimit"                      => "ZdMax",
Index: trunk/MagicSoft/Mars/datacenter/db/menu.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/menu.php	(revision 9499)
+++ trunk/MagicSoft/Mars/datacenter/db/menu.php	(revision 9500)
@@ -1342,4 +1342,10 @@
         $_GET["fMaxHumLimit2"]="";
 
+    if (empty($_GET["fCloudinessLimit1"]))
+        $_GET["fCloudinessLimit1"]="40";
+
+    if (empty($_GET["fCloudinessLimit2"]))
+        $_GET["fCloudinessLimit2"]="50";
+
     //values that differ for different data
     if (empty($_GET["fPSFLimitMean"]))
Index: trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php	(revision 9499)
+++ trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php	(revision 9500)
@@ -280,5 +280,5 @@
     }
 
-    function InitGet($_GET)
+    function InitGet()
     {
         // Find out whether it is the first call to the php script
@@ -324,5 +324,5 @@
             $_GET["fOnlySum"]=$first?"Off":"";
 
-        InitFindOffData($_GET, $first);
+        InitFindOffData($first);
     }
 
@@ -436,5 +436,5 @@
         $environment = sizeof($_GET);
 
-        InitGet($_GET);
+        InitGet();
         if (empty($_GET["fPrintTable"]))
             PrintForm($_GET, $host, $user, $pw, $db, $limitsmean, $limitsmin, $limitsmax, $alias);
