Changeset 8555 for trunk/MagicSoft


Ignore:
Timestamp:
06/13/07 17:03:00 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8553 r8555  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2007/06/13 Daniela Dorner
     22
     23   * datacenter/db/plotdb.php:
     24     - enlarged inputs for Set1 and Set2 to 150 (was too short for all
     25       sequences of one dataset)
     26
     27   * datacenter/db/showplots.php:
     28     - implemented variable for number of tabs (calib*.root,
     29       signal*.root and star*.root) to simplify future changes
     30     - adapted number of tabs for signal*.root
     31
     32
    2033
    2134 2007/06/12 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/db/plotdb.php

    r8466 r8555  
    174174    printf("&nbsp;<input type='radio' name='set' value='datasets' onclick='hideset2()' %s> datasets <br>\n", $_GET["set"]=="datasets" ? "checked" : "");
    175175
    176     printf("<div id='set1' style='display:inline'>Set1: <input name='Set' type='text' size='20' maxlength='100' 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"]);
    177177    if (empty($_GET["set"]) || $_GET["set"]=="sequences")
    178178        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"]);
    179179    else
    180         printf("<div id='set2' style='display:none'>Set2: <input name='Set2' type='text' size='20' maxlength='100' 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"]);
    181181
    182182    printf("<br><input class='Width' type='submit' value='Query Plot'><br>\n");
  • trunk/MagicSoft/Mars/datacenter/db/showplots.php

    r8421 r8555  
    3333
    3434    //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)))
    3643    {
    3744        $tabnum=1;
     
    5764        case "calib":
    5865            $type2="star";
    59             $tabnum=18;
     66            $tabnum=$startabs;
    6067            break;
    6168        case "signal":
    6269            $type2="calib";
    63             $tabnum=11;
     70            $tabnum=$calibtabs;
    6471            break;
    6572        case "star":
    6673            $type2="signal";
    67             $tabnum=10;
     74            $tabnum=$signaltabs;
    6875            break;
    6976        }
Note: See TracChangeset for help on using the changeset viewer.