remove some more leading slashes

git-svn-id: http://www.observium.org/svn/observer/trunk@1512 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-29 11:48:43 +00:00
parent 1e0ecd80f2
commit fffc792a56
4 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ while($drive = mysql_fetch_array($query)) {
if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
$fs_url = "/device/".$device['device_id']."/health/diskio/";
$fs_url = "device/".$device['device_id']."/health/diskio/";
$fs_popup = "onmouseover=\"return overlib('<div class=list-large>".$device['hostname']." - ".$drive['diskio_descr'];
$fs_popup .= "</div><img src=\'graph.php?id=" . $drive['diskio_id'] . "&type=diskio_ops&from=$month&to=$now&width=400&height=125\'>";
+2 -4
View File
@@ -9,12 +9,10 @@ $graph_type = "mempool_usage";
while($mempool = mysql_fetch_array($mempools)) {
if(!is_integer($i/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
$proc_url = "?page=device/".$device['device_id']."/health/memory/";
$text_descr = rewrite_entity_descr($mempool['mempool_descr']);
$mempool_url = "/device/".$device['device_id']."/health/memory/";
$mini_url = $config['base_url'] . "/graph.php?id=".$mempool['mempool_id']."&type=".$graph_type."&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4";
$mempool_url = "device/".$device['device_id']."/health/memory/";
$mini_url = "graph.php?id=".$mempool['mempool_id']."&type=".$graph_type."&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4";
$mempool_popup = "onmouseover=\"return overlib('<div class=list-large>".$device['hostname']." - ".$text_descr;
$mempool_popup .= "</div><img src=\'graph.php?id=" . $mempool['mempool_id'] . "&type=".$graph_type."&from=$month&to=$now&width=400&height=125\'>";
+2 -2
View File
@@ -8,9 +8,9 @@ $i = '1';
$procs = mysql_query("SELECT * FROM `processors` WHERE device_id = '" . $device['device_id'] . "'");
while($proc = mysql_fetch_array($procs)) {
$proc_url = $config['base_url']."/device/".$device['device_id']."/health/processors/";
$proc_url = "device/".$device['device_id']."/health/processors/";
$mini_url = $config['base_url'] . "/graph.php?id=".$proc['processor_id']."&type=".$graph_type."&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4";
$mini_url = "graph.php?id=".$proc['processor_id']."&type=".$graph_type."&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4";
$text_descr = $proc['processor_descr'];
+1 -1
View File
@@ -28,7 +28,7 @@ while($drive = mysql_fetch_array($query)) {
$total = formatStorage($total);
$free = formatStorage($free);
$fs_url = "?page=device&id=".$device['device_id']."&section=dev-storage";
$fs_url = "device/".$device['device_id']."/health/storage/";
$fs_popup = "onmouseover=\"return overlib('<div class=list-large>".$device['hostname']." - ".$drive['storage_descr'];
$fs_popup .= "</div><img src=\'graph.php?id=" . $drive['storage_id'] . "&type=".$graph_type."&from=$month&to=$now&width=400&height=125\'>";