Changeset 9249 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 01/23/09 17:27:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r9218 r9249 161 161 printf(" </td><td>\n"); 162 162 printf(" </td><td>\n"); 163 PrintPullDown($host, $user, $pw, $db, "SumTriggerFlag", "fSumTriggerFlagName", 163 PrintPullDown($host, $user, $pw, $db, "SumTriggerFlag", "fSumTriggerFlagName", "fSumTriggerFlagKEY", "SumTrigger Flag"); 164 164 // printf(" </td><td>\n"); 165 165 // PrintPullDown($host, $user, $pw, $db, "ManuallyChanged", "fManuallyChangedName", "fManuallyChangedKEY", "Manually changed"); … … 564 564 } 565 565 566 function 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 566 585 function PrintSourceMenu($host,$user,$pw,$db) 567 586 {
Note:
See TracChangeset
for help on using the changeset viewer.