IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33062 for trunk/ippMonitor


Ignore:
Timestamp:
Jan 9, 2012, 5:25:47 PM (14 years ago)
Author:
rhenders
Message:

removed ability to start and stop reverts. now just reports whether they are on or not

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/czartool_labels.php

    r32954 r33062  
    492492    createFormattedTableCell(($selectedLabel != "all"), $link, "All labels", 0, null);
    493493
    494     createFormattedTableCell(0, null, "Reverts:", 0, "$columnHeaderColor");
     494    createFormattedTableCell(0, null, "Reverting:", 0, "$columnHeaderColor");
    495495
    496496    foreach ($stages as &$stage) {
     
    498498        if ($stage == "burntool") continue;
    499499        $reverting = getRevertStatus($db, $stage);
    500         $link =
    501             "czartool_labels.php?pass=".$pass
    502             ."&proj=".$proj
    503             ."&mode=" .$selectedMode
    504             ."&label=".$selectedLabel
    505             ."&stage=".$selectedStage
    506             ."&plottype=".$plotType
    507             ."&revertstage=".$stage
    508             ."&revertmode=";
    509 
    510         if(!$reverting) {$label =  "Start";$link = $link . "on";}
    511         if($reverting) {$label = "Stop";$link = $link . "off";}
     500        #$link =
     501        #    "czartool_labels.php?pass=".$pass
     502        #    ."&proj=".$proj
     503        #    ."&mode=" .$selectedMode
     504        #    ."&label=".$selectedLabel
     505        #    ."&stage=".$selectedStage
     506        #    ."&plottype=".$plotType
     507        #    ."&revertstage=".$stage
     508        #    ."&revertmode=";
     509#
     510        #if(!$reverting) {$label =  "Start";$link = $link . "on";}
     511        #if($reverting) {$label = "Stop";$link = $link . "off";}
     512        if(!$reverting) {$label =  "no";}
     513        if($reverting) {$label = "yes";}
    512514        unset($reverting);
    513         createFormattedTableCell(1, $link, $label, 0, "$columnHeaderColor");
     515        #createFormattedTableCell(1, $link, $label, 0, "$columnHeaderColor");
     516        createFormattedTableCell(0, null, $label, 0, "$columnHeaderColor");
    514517        #echo "<td><a href=\"$link\"><font color=\"blue\">$label</font></td>";
    515518
Note: See TracChangeset for help on using the changeset viewer.