remove some leading slashes from supposedly relative URLs :> (reported by Eimann)

git-svn-id: http://www.observium.org/svn/observer/trunk@1511 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-29 11:44:31 +00:00
parent 80b4594573
commit 1e0ecd80f2
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE
$current_year = "graph.php?id=" . $current['sensor_id'] . "&type=".$graph_type."&from=$year&to=$now&width=300&height=100";
$current_minigraph = "<img src='graph.php?id=" . $current['sensor_id'] . "&type=".$graph_type."&from=$day&to=$now&width=80&height=20&bg=$graph_colour' align='absmiddle'>";
$current_link = "<a href='/device/".$device['device_id']."/health/current/' onmouseover=\"return ";
$current_link = "<a href='device/".$device['device_id']."/health/current/' onmouseover=\"return ";
$current_link .= "overlib('<div class=list-large>".$device['hostname']." - ".$current['sensor_descr'];
$current_link .= "</div><div style=\'width: 750px\'><img src=\'$current_day\'><img src=\'$current_week\'><img src=\'$current_month\'><img src=\'$current_year\'></div>', RIGHT".$config['overlib_defaults'].");\" onmouseout=\"return nd();\" >";