Ignore:
Timestamp:
01/23/09 17:27:58 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/menu.php

    r9218 r9249  
    161161    printf("  </td><td>\n");
    162162    printf("  </td><td>\n");
    163     PrintPullDown($host, $user, $pw, $db, "SumTriggerFlag",              "fSumTriggerFlagName",                  "fSumTriggerFlagKEY",              "SumTrigger Flag");
     163    PrintPullDown($host, $user, $pw, $db, "SumTriggerFlag",              "fSumTriggerFlagName",              "fSumTriggerFlagKEY",              "SumTrigger Flag");
    164164//    printf("  </td><td>\n");
    165165//    PrintPullDown($host, $user, $pw, $db, "ManuallyChanged",             "fManuallyChangedName",             "fManuallyChangedKEY",             "Manually changed");
     
    564564}
    565565
     566function PrintGroupByDateMenu()
     567{
     568    printf("Group by Date ");
     569    printf("<select name='fGroupByDate' size='1' class='Width'>\n");
     570    if (empty($_GET["fGroupByDate"]) || $_GET["fGroupByDate"]==0)
     571        printf("    <option value='0' selected>--- NO GROUP BY ---</option>\n");
     572    else
     573        printf("    <option value='0'>--- NO GROUP BY ---</option>\n");
     574    $dates=array("Year", "Month","Night");
     575    foreach ($dates as $date)
     576    {
     577        if ($_GET["fGroupByDate"]==$date)
     578            printf("    <option value='%s' selected> %s </option>\n", $date, $date);
     579        else
     580            printf("    <option value='%s'> %s </option>\n", $date, $date);
     581    }
     582    printf("   </select>\n");
     583}
     584
    566585function PrintSourceMenu($host,$user,$pw,$db)
    567586{
Note: See TracChangeset for help on using the changeset viewer.