diff --git a/html/pages/temperatures.php b/html/pages/temperatures.php index c035a35514..81c82f767c 100644 --- a/html/pages/temperatures.php +++ b/html/pages/temperatures.php @@ -27,11 +27,9 @@ while($temp = mysql_fetch_array($query)) { $speed = humanspeed($temp['ifSpeed']); $type = humanmedia($temp['ifType']); - $temp_url = "graph.php?id=" . $temp['temp_id'] . "&type=temp&from=$week&to=$now&width=400&height=150"; - - $temp_popup = "', LEFT);\" onmouseout=\"return nd();\"> - " . $temp['temp_descr'] . " "; - + $weekly_temp = "graph.php?id=" . $temp['temp_id'] . "&type=temp&from=$week&to=$now&width=211&height=100"; + $temp_popup = "', LEFT);\" onmouseout=\"return nd();\"> + "; $temp_perc = $temp['temp_current'] / $temp['temp_limit'] * 100; $temp_colour = percent_colour($temp_perc);