Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8532)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8533)
@@ -18,4 +18,14 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2007/05/21 Daniela Dorner
+
+   * datacenter/db/showplots-ds.php:
+     - also off-sequences are plottet now
+     - by plotting the link to the plot in colour, it is marked, whether
+       a on sequence (green) or a off sequence is plotted
+
+
+
  2007/05/21 Daniel Hoehne
 
Index: /trunk/MagicSoft/Mars/datacenter/db/showplots-ds.php
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/db/showplots-ds.php	(revision 8532)
+++ /trunk/MagicSoft/Mars/datacenter/db/showplots-ds.php	(revision 8533)
@@ -44,9 +44,11 @@
     $sequoff="";
     if (!empty($offpos))
-        $sequoff=substr($dataset, $offpos+13, $possource-($offpos+13));
+        $sequoff=split(" ", trim(substr($dataset, $offpos+13, $possource-($offpos+13))));
     if (empty($offpos))
         $offpos=$possource;
-    $sequon=substr($dataset, $onpos+12, $offpos-($onpos+12));
-    $sequences=split(" ", trim($sequon));
+    $sequon=split(" ", trim(substr($dataset, $onpos+12, $offpos-($onpos+12))));
+    $sequences=$sequon;
+    if (!empty($sequoff))
+        $sequences=array_merge($sequences,$sequoff);
     if ($seq!=0 && !in_array($seq, $sequences))
         $seq=0;
@@ -104,5 +106,11 @@
 printf("</td>\n</tr>\n<tr>\n<td align='center'>\n");
 if (!empty($seq))
+{
+    if (in_array($seq, $sequon))
+        printf("<font color='green'>\n");
+    else
+        printf("<font color='red'>\n");
     printf("%s <img src='%s'>", $plot, $plot);
+}
 else
     printf("You have to insert a dataset number in the first field.");
