Index: trunk/ippMonitor/raw/czartool_labels.php
===================================================================
--- trunk/ippMonitor/raw/czartool_labels.php	(revision 29792)
+++ trunk/ippMonitor/raw/czartool_labels.php	(revision 29969)
@@ -64,5 +64,5 @@
 include 'version.php';
 echo "</p>";
-echo "<p  align=\"center\"> Current status of the IPP as of $lastUpdateTime (faults are shown in parentheses). <br>Documentation can be found <a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing\">here</a> and cluster load monitored <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending&c=IPP%2520Production\">here</a><br>Current nightly science status: $nsStatus<br>Use <a href=\"$link\"> $plotTypeLink</a> plots <br/><a href=\"http://ipp004.ifa.hawaii.edu/clusterMonitor/top.html\">Who uses the cluster?</a></p>";
+echo "<p  align=\"center\"> Current status of the IPP as of $lastUpdateTime (faults are shown in parentheses). <br>Documentation can be found <a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing\">here</a> and cluster load monitored <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending&c=IPP%2520Production\">here</a><br>Current nightly science status: $nsStatus<br>Use <a href=\"$link\"> $plotTypeLink</a> plots <br/><a href=\"http://ipp004.ifa.hawaii.edu/clusterMonitor/top.html\">Who uses the cluster?</a><br><a href=\"http://ipp004.ifa.hawaii.edu/ippMetrics\">IPP Metrics</a></p>";
 
 
@@ -605,5 +605,6 @@
         ."&allservercmd=stop";
 
-    write_table_cell($class, '%s', $link, "Stop all");
+    $link = ""; # TODO removed links temporarily
+        write_table_cell($class, '%s', $link, "Stop all");
     $link = "czartool_labels.php?pass=".$pass
         ."&proj=".$proj
@@ -613,5 +614,6 @@
         ."&allservercmd=run";
 
-    write_table_cell($class, '%s', $link, "Run all");
+    $link = ""; # TODO removed links temporarily
+        write_table_cell($class, '%s', $link, "Run all");
     echo "</tr>\n";
 
@@ -628,5 +630,6 @@
             ."&plottype=".$plotType;
 
-        write_table_cell($class, '%s', $link, $server);
+        $link = ""; # TODO removed links temporarily
+            write_table_cell($class, '%s', $link, $server);
         write_table_cell($class, '%s', "", $alive ? "yes" : "NO");
 
@@ -644,5 +647,6 @@
 
                 $link = $link . "stop";
-                write_table_cell($class, '%s', $link, "stop");
+                $link = ""; # TODO removed links temporarily
+                    write_table_cell($class, '%s', $link, "stop");
                 write_table_cell($class, '%s', "", "");
             }
@@ -651,5 +655,6 @@
                 $link = $link . "run";
                 write_table_cell($class, '%s', "", "");
-                write_table_cell($class, '%s', $link, "run");
+                $link = ""; # TODO removed links temporarily
+                    write_table_cell($class, '%s', $link, "run");
             }
         }
@@ -759,21 +764,21 @@
 ###########################################################################
 function showReplicationsStatus($replHost, $replUser, $replPassword, $replDatabaseName) {
-  #print "<br>$replHost, $replUser, $replPassword, $replDatabaseName<br/>";
-  $dbRepl = DB::connect("mysql://$replUser:$replPassword@$replHost");
-  if (PEAR::isError($dbRepl)) {
-    die("MySQL DB connection error: Check the configuration for $replDatabaseName");
-  }
-  $res = $dbRepl->query('SHOW SLAVE STATUS');
-  while ($res->fetchInto($row)) {
-    # Have a look for Last_Errno in http://dev.mysql.com/doc/refman/5.0/en/show-slave-status.html
-    $errorStatusInMySql = $row[18];
-    $replStatus = ($errorStatusInMySql==0?"OK":"<font color=\"red\">PROBLEM</font>");
-    echo "<tr><td>$replDatabaseName</td><td>$replStatus</td></tr>";
-    if ($errorStatusInMySql!=0) {
-      echo "<tr><td colspan=\"2\">Connect to $replDatabaseName replication host, execute 'SHOW SLAVE STATUS', and fix the problem.<br/>";
-      echo "Information <a href=\"http://dev.mysql.com/doc/refman/5.0/en/show-slave-status.html\">here</a></td></tr>";
-    }
-  }
-  $dbRepl->disconnect();
+    #print "<br>$replHost, $replUser, $replPassword, $replDatabaseName<br/>";
+    $dbRepl = DB::connect("mysql://$replUser:$replPassword@$replHost");
+    if (PEAR::isError($dbRepl)) {
+        die("MySQL DB connection error: Check the configuration for $replDatabaseName");
+    }
+    $res = $dbRepl->query('SHOW SLAVE STATUS');
+    while ($res->fetchInto($row)) {
+        # Have a look for Last_Errno in http://dev.mysql.com/doc/refman/5.0/en/show-slave-status.html
+        $errorStatusInMySql = $row[18];
+        $replStatus = ($errorStatusInMySql==0?"OK":"<font color=\"red\">PROBLEM</font>");
+        echo "<tr><td>$replDatabaseName</td><td>$replStatus</td></tr>";
+        if ($errorStatusInMySql!=0) {
+            echo "<tr><td colspan=\"2\">Connect to $replDatabaseName replication host, execute 'SHOW SLAVE STATUS', and fix the problem.<br/>";
+            echo "Information <a href=\"http://dev.mysql.com/doc/refman/5.0/en/show-slave-status.html\">here</a></td></tr>";
+        }
+    }
+    $dbRepl->disconnect();
 }
 
