Changeset 32818 for trunk/ippMonitor/raw/czartool_ipptopsps.php
- Timestamp:
- Nov 25, 2011, 9:04:33 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/czartool_ipptopsps.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_ipptopsps.php
r32784 r32818 53 53 $columnHeaderColor = "lavender"; 54 54 55 if ($selectedLabel == "") { $selectedLabel = "ThreePi.V3_P2"; } 55 $labels = getLabels($czardb); 56 57 # if no label is selected, use first one in the list 58 if ($selectedLabel == "") { 59 60 if (sizeof($labels) > 0) $selectedLabel = $labels[0]; 61 else $selectedLabel = "no labels"; 62 } 56 63 if ($selectedStage == "") { $selectedStage = "all_stages"; } 57 64 if ($plotType == "") { $plotType = "linear"; } … … 73 80 $table = "<table bgcolor=\"#FFFFFF\" width=\"700\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n"; 74 81 75 $labels = getLabels($czardb);76 82 77 83 if ($debug) { … … 161 167 162 168 # order by descending priority as set in gpc1 database 163 $sql = "SELECT DISTINCT label FROM processed WHERE timestamp >= now() - INTERVAL 1 DAY ";169 $sql = "SELECT DISTINCT label FROM processed WHERE timestamp >= now() - INTERVAL 1 DAY ORDER BY label"; 164 170 if ($debug) {echo "$sql<br>";} 165 171
Note:
See TracChangeset
for help on using the changeset viewer.
