Changeset 28726 for trunk/ippMonitor/raw/czartool_labels.php
- Timestamp:
- Jul 28, 2010, 8:47:29 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/czartool_labels.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_labels.php
r28724 r28726 28 28 $menu = $ID['menu']; 29 29 30 $selectedStage = $_GET[stage]; 30 31 $selectedLabel = $_GET[label]; 31 32 $selectedServer = $_GET[server]; … … 35 36 36 37 if ($selectedLabel == "") $selectedLabel = "all_labels"; 38 if ($selectedStage == "") $selectedStage = "all_stages"; 37 39 38 40 if ($revertStage != "" && $revertMode != "" && $revertServer != "" ) … … 82 84 83 85 echo "<td> \n"; 84 echo "<img src=\"czartool_getplot.php?type=t&label=$selectedLabel\"><br>\n"; 86 echo "<img src=\"czartool_getplot.php?type=t&label=$selectedLabel&stage=$selectedStage\"><br>\n"; 87 echo "czartool_getplot.php?type=t&label=$selectedLabel&stage=$selectedStage\"<br>\n"; 85 88 echo "</td>\n"; 86 89 87 90 echo "<td> \n"; 88 createLabelsTable($pass, $proj, $czardb, $stdsLabels, $distLabels, $pubLabels, $stages, $states, "new", $selectedLabel );91 createLabelsTable($pass, $proj, $czardb, $stdsLabels, $distLabels, $pubLabels, $stages, $states, "new", $selectedLabel, $selectedStage); 89 92 echo "</td>\n"; 90 93 … … 95 98 echo "<tr valign=top>\n"; 96 99 echo "<td> \n"; 97 echo "<img src=\"czartool_getplot.php?type=h&label=$selectedLabel \"><br>\n";100 echo "<img src=\"czartool_getplot.php?type=h&label=$selectedLabel&stage=$selectedStage\"><br>\n"; 98 101 echo "</td>\n"; 99 102 echo "<td> \n"; … … 197 200 # 198 201 ########################################################################### 199 function createLabelsTable($pass, $proj, $db, $stdsLabels, $distLabels, $pubLabels, $stages, $states, $selectedState, $selectedLabel ) {202 function createLabelsTable($pass, $proj, $db, $stdsLabels, $distLabels, $pubLabels, $stages, $states, $selectedState, $selectedLabel, $selectedStage) { 200 203 201 204 // set up table columns … … 225 228 write_header_cell($class, "Distributing?"); 226 229 write_header_cell($class, "Publishing?"); 227 foreach ($stages as &$stage) write_header_cell($class, $stage); 230 foreach ($stages as &$stage) { 231 232 if ($stage == $selectedStage) $link = ""; 233 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $selectedLabel . "&stage=" . $stage; 234 write_table_cell($class, '%s', $link, $stage); 235 // write_header_cell($class, $stage); 236 } 228 237 229 238 echo "</tr>\n"; … … 248 257 // create link to label summary page for each label 249 258 if ($stdsLabel == $selectedLabel) $link = ""; 250 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $stdsLabel ;259 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $stdsLabel . "&stage=" . $selectedStage; 251 260 252 261 echo "<tr><td></td>\n";
Note:
See TracChangeset
for help on using the changeset viewer.
