Changeset 8555 for trunk/MagicSoft/Mars/datacenter/db
- Timestamp:
- 06/13/07 17:03:00 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/db
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/plotdb.php
r8466 r8555 174 174 printf(" <input type='radio' name='set' value='datasets' onclick='hideset2()' %s> datasets <br>\n", $_GET["set"]=="datasets" ? "checked" : ""); 175 175 176 printf("<div id='set1' style='display:inline'>Set1: <input name='Set' type='text' size='20' maxlength='1 00' value='%s'>\n</div>\n<br>\n", $_GET["Set"]);176 printf("<div id='set1' style='display:inline'>Set1: <input name='Set' type='text' size='20' maxlength='150' value='%s'>\n</div>\n<br>\n", $_GET["Set"]); 177 177 if (empty($_GET["set"]) || $_GET["set"]=="sequences") 178 178 printf("<div id='set2' style='display:inline'>Set2: <input name='Set2' type='text' size='20' maxlength='100' value='%s'>\n</div>\n<br>\n", $_GET["Set2"]); 179 179 else 180 printf("<div id='set2' style='display:none'>Set2: <input name='Set2' type='text' size='20' maxlength='1 00' value='%s'>\n</div>\n<br>\n", $_GET["Set2"]);180 printf("<div id='set2' style='display:none'>Set2: <input name='Set2' type='text' size='20' maxlength='150' value='%s'>\n</div>\n<br>\n", $_GET["Set2"]); 181 181 182 182 printf("<br><input class='Width' type='submit' value='Query Plot'><br>\n"); -
trunk/MagicSoft/Mars/datacenter/db/showplots.php
r8421 r8555 33 33 34 34 //be careful: this has to be adapted in case tabs are removed or new tabs are added 35 if (($type2=="calib" && $tabnum==12) || ($type2=="signal" && $tabnum==11) || ($type2=="star" && $tabnum==19)) 35 //number of tabs for calib*.root, signal*.root and star*.root 36 $calibtabs=11; 37 $signaltabs=12; 38 $startabs=18; 39 40 if (($type2=="calib" && $tabnum==($calibtabs+1)) 41 || ($type2=="signal" && $tabnum==($signaltabs+1)) 42 || ($type2=="star" && $tabnum==($startabs+1))) 36 43 { 37 44 $tabnum=1; … … 57 64 case "calib": 58 65 $type2="star"; 59 $tabnum= 18;66 $tabnum=$startabs; 60 67 break; 61 68 case "signal": 62 69 $type2="calib"; 63 $tabnum= 11;70 $tabnum=$calibtabs; 64 71 break; 65 72 case "star": 66 73 $type2="signal"; 67 $tabnum= 10;74 $tabnum=$signaltabs; 68 75 break; 69 76 }
Note:
See TracChangeset
for help on using the changeset viewer.