Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 9167)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 9168)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2008/11/16 Daniela Dorner
+
+   * datacenter/db/menu.php, datacenter/db/sequinfo-aio.php:
+     - added option to query only sumtrigger data
+
+
 
  2008/11/14 Daniela Dorner
Index: /trunk/MagicSoft/Mars/NEWS
===================================================================
--- /trunk/MagicSoft/Mars/NEWS	(revision 9167)
+++ /trunk/MagicSoft/Mars/NEWS	(revision 9168)
@@ -28,4 +28,7 @@
      ('-' button at beginning of each line) and get all lines back 
      ('+' at top of the column)
+
+   * Websites: added option to query only sequences containing sumtrigger 
+     events
 
  ;automatic analyis
Index: /trunk/MagicSoft/Mars/datacenter/db/menu.php
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/db/menu.php	(revision 9167)
+++ /trunk/MagicSoft/Mars/datacenter/db/menu.php	(revision 9168)
@@ -120,8 +120,9 @@
 
     CheckBox("fSequenceLast",      "Last run");
-
-    printf("  </tr><tr>\n");
-
     CheckBox("fLinks",             "Links");
+
+    printf("  </tr><tr>\n");
+
+    CheckBox("fOnlySum",           "only sumtrigger");
     CheckBox("fTest",              "incl. TestSources");
     CheckBox("fOff",               "incl. offsources");
Index: /trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php	(revision 9167)
+++ /trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php	(revision 9168)
@@ -75,5 +75,5 @@
                 foreach ($_GET as $key => $element)
                     if ($_GET[$key]=="On")
-                        if ($key!="fLinks" && $key!="fOff" && $key!="fOnlyOff")
+                        if ($key!="fLinks" && $key!="fOff" && $key!="fOnlyOff" && $key!="fOnlySum")
                             if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
                                 $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
@@ -116,4 +116,14 @@
 
             $query0 .= " fSourceName like '%Off%'";
+        }
+
+        if ($_GET["fOnlySum"]=="On")
+        {
+            if (strpos($query0, " WHERE ")==FALSE)
+                $query0 .= " WHERE ";
+            else
+                $query0 .= " AND ";
+
+            $query0 .= " NOT ISNULL(fRateSumEvts) ";
         }
 
@@ -282,4 +292,7 @@
         if (empty($_GET["fOnlyOff"]))
             $_GET["fOnlyOff"]=$first?"Off":"";
+
+        if (empty($_GET["fOnlySum"]))
+            $_GET["fOnlySum"]=$first?"Off":"";
 
         InitFindOffData($_GET, $first);
