Changeset 8251 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 01/16/07 11:22:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r8249 r8251 351 351 printf(" <tr>\n"); 352 352 353 CheckBox("fComment", "Comment"); 354 CheckBox("fScaleFactor", "Scale"); 355 CheckBox("fEffOnTime/3600", "EffOnTime"); 353 CheckBox("fComment", "Comment"); 354 CheckBox("fDataSetName", "Name"); 355 CheckBox("fZenithDistanceMin", "ZdMin"); 356 CheckBox("fZenithDistanceMax", "ZdMax"); 357 358 printf(" </tr><tr>\n"); 359 360 CheckBox("fRunTime", "Uptime"); 361 CheckBox("fRunStart", "Start"); 362 CheckBox("fRunStop", "Stop"); 356 363 CheckBox("fLinks", "Links"); 357 364 358 365 printf(" </tr><tr>\n"); 359 366 360 CheckBox("fExcessEvents", "ExcEvts"); 361 CheckBox("fBackgroundEvents", "BgEvts"); 362 CheckBox("fSignalEvents", "SignEvts"); 363 CheckBox("fSignificance", "Sign"); 367 CheckBox("fEffOnTime/3600", "EffOnTime"); 368 CheckBox("fScaleFactor", "Scale"); 369 370 printf(" </tr><tr>\n"); 371 372 CheckBox("fExcessEvents", "ExcEvts"); 373 CheckBox("fBackgroundEvents", "BgEvts"); 374 CheckBox("fSignalEvents", "SignEvts"); 375 CheckBox("fSignificance", "Sign"); 364 376 365 377 printf(" </tr><tr>\n"); … … 375 387 } 376 388 389 function PrintDataSetInfoMenu2($host,$user,$pw,$db) 390 { 391 printf(" <div id='info2' style='display:none'>"); 392 printf(" <table><tr><td>\n"); 393 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name"); 394 printf(" </td><td>\n"); 395 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Observation Mode"); 396 printf(" </td><td>\n"); 397 PrintPullDown($host, $user, $pw, $db, "User", "fUserName", "fUserKEY", "User"); 398 printf(" </td></tr>\n"); 399 printf(" </table>\n"); 400 printf("</div>"); 401 } 402 377 403 function PrintDataSetStatMenu($host,$user,$pw,$db) 378 404 { … … 383 409 printf(" <td>\n"); 384 410 PrintStatusMenu("fDataSetInserted", "DataSet Inserted"); 411 printf(" </td><td>\n"); 412 PrintStatusMenu("fDataSetFileWritten", "DataSetFile"); 385 413 printf(" </td><td>\n"); 386 414 PrintStatusMenu("fStarFilesAvail", "FilesAvail"); … … 881 909 $_GET["fDataSetInsertedStatus"]="0"; 882 910 911 if (empty($_GET["fDataSetFileWritten"])) 912 $_GET["fDataSetFileWritten"]=$first?"On":""; 913 914 if (empty($_GET["fDataSetFileWrittenStatus"])) 915 $_GET["fDataSetFileWrittenStatus"]="0"; 916 883 917 if (empty($_GET["fStarFilesAvail"])) 884 918 $_GET["fStarFilesAvail"]="Off"; … … 908 942 $_GET["fNumResults"]="50"; 909 943 944 if (empty($_GET["fLinks"])) 945 $_GET["fLinks"]=$first?"On":""; 946 947 if (empty($_GET["fExcessEvents"])) 948 $_GET["fExcessEvents"]=$first?"On":""; 949 950 if (empty($_GET["fBackgroundEvents*60/fEffOnTime"])) 951 $_GET["fBackgroundEvents*60/fEffOnTime"]=$first?"On":""; 952 953 if (empty($_GET["fBackgroundEvents"])) 954 $_GET["fBackgroundEvents"]=$first?"On":""; 955 956 if (empty($_GET["fSignalEvents"])) 957 $_GET["fSignalEvents"]=$first?"On":""; 958 959 if (empty($_GET["fSignificance"])) 960 $_GET["fSignificance"]=$first?"On":""; 961 962 if (empty($_GET["fScaleFactor"])) 963 $_GET["fScaleFactor"]=$first?"On":""; 964 965 if (empty($_GET["fEffOnTime/3600"])) 966 $_GET["fEffOnTime/3600"]=$first?"On":""; 967 910 968 if (empty($_GET["fSourceName"])) 911 $_GET["fSourceName"]="Off"; 969 $_GET["fSourceName"]=$first?"On":""; 970 971 if (empty($_GET["fObservationModeName"])) 972 $_GET["fObservationModeName"]=$first?"On":""; 912 973 913 974 if (empty($_GET["fComment"])) 914 975 $_GET["fComment"]="Off"; 915 976 916 if (empty($_GET["fExcessEvents"])) 917 $_GET["fExcessEvents"]="Off"; 977 if (empty($_GET["fUserName"])) 978 $_GET["fUserName"]="Off"; 979 980 if (empty($_GET["fRunStart"])) 981 $_GET["fRunStart"]="Off"; 982 983 if (empty($_GET["fRunStop"])) 984 $_GET["fRunStop"]="Off"; 985 986 if (empty($_GET["fZenithDistanceMin"])) 987 $_GET["fZenithDistanceMin"]=$first?"On":""; 988 989 if (empty($_GET["fZenithDistanceMax"])) 990 $_GET["fZenithDistanceMax"]=$first?"On":""; 991 992 if (empty($_GET["fRunTime"])) 993 $_GET["fRunTime"]="Off"; 994 995 if (empty($_GET["fDataSetName"])) 996 $_GET["fDataSetName"]=$first?"On":""; 918 997 919 998 if (empty($_GET["fExcessEvents*60/fEffOnTime"])) 920 999 $_GET["fExcessEvents*60/fEffOnTime"]="Off"; 921 1000 922 if (empty($_GET["fBackgroundEvents*60/fEffOnTime"]))923 $_GET["fBackgroundEvents*60/fEffOnTime"]="Off";924 925 if (empty($_GET["fBackgroundEvents"]))926 $_GET["fBackgroundEvents"]="Off";927 928 if (empty($_GET["fSignalEvents"]))929 $_GET["fSignalEvents"]="Off";930 931 1001 if (empty($_GET["fSignalEvents*60/fEffOnTime"])) 932 1002 $_GET["fSignalEvents*60/fEffOnTime"]="Off"; 933 1003 934 if (empty($_GET["fSignificance"]))935 $_GET["fSignificance"]="Off";936 937 1004 if (empty($_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"])) 938 1005 $_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]="Off"; 939 1006 940 if (empty($_GET["fScaleFactor"]))941 $_GET["fScaleFactor"]="Off";942 943 if (empty($_GET["fEffOnTime/3600"]))944 $_GET["fEffOnTime/3600"]="Off";945 1007 } 946 1008
Note:
See TracChangeset
for help on using the changeset viewer.