diff --git a/html/pages/health/current.inc.php b/html/pages/health/current.inc.php index 7140f31f07..edd88447c4 100644 --- a/html/pages/health/current.inc.php +++ b/html/pages/health/current.inc.php @@ -30,7 +30,7 @@ while($current = mysql_fetch_array($query)) if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } $weekly_current = "graph.php?id=" . $current['sensor_id'] . "&type=".$graph_type."&from=$week&to=$now&width=500&height=150"; - $current_popup = "', LEFT);\" onmouseout=\"return nd();\"> + $current_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $current['sensor_descr'] . ""; if($current['sensor_current'] >= $current['sensor_limit']) { $alert = 'alert'; } else { $alert = ""; } diff --git a/html/pages/health/fanspeeds.inc.php b/html/pages/health/fanspeeds.inc.php index 2ac3f57ba6..470aa4b45d 100644 --- a/html/pages/health/fanspeeds.inc.php +++ b/html/pages/health/fanspeeds.inc.php @@ -29,7 +29,7 @@ while($fan = mysql_fetch_array($query)) if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } $weekly_fan = "graph.php?id=" . $fan['sensor_id'] . "&type=".$graph_type."&from=$week&to=$now&width=500&height=150"; - $fan_popup = "', LEFT);\" onmouseout=\"return nd();\"> + $fan_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $fan['sensor_descr'] . ""; if($fan['sensor_current'] <= $fan['sensor_limit']) { $alert = 'alert'; } else { $alert = ""; } diff --git a/html/pages/health/frequencies.inc.php b/html/pages/health/frequencies.inc.php index 458bd53862..f4022135e5 100644 --- a/html/pages/health/frequencies.inc.php +++ b/html/pages/health/frequencies.inc.php @@ -29,7 +29,7 @@ while($freq = mysql_fetch_array($query)) if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } $weekly_freq = "graph.php?id=" . $freq['sensor_id'] . "&type=".$graph_type."&from=$week&to=$now&width=500&height=150"; - $sensor_popup = "', LEFT);\" onmouseout=\"return nd();\"> + $sensor_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $freq['sensor_descr'] . ""; if($freq['sensor_current'] >= $freq['sensor_limit']) { $alert = 'alert'; } else { $alert = ""; } diff --git a/html/pages/health/humidity.inc.php b/html/pages/health/humidity.inc.php index f9371b9bb3..88b1d4d034 100644 --- a/html/pages/health/humidity.inc.php +++ b/html/pages/health/humidity.inc.php @@ -29,7 +29,7 @@ while($humidity = mysql_fetch_array($query)) if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } $weekly_humidity = "graph.php?id=" . $humidity['sensor_id'] . "&type=".$graph_type."&from=$week&to=$now&width=500&height=150"; - $humidity_popup = "', LEFT);\" onmouseout=\"return nd();\"> + $humidity_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $humidity['sensor_descr'] . ""; $humidity['sensor_current'] = round($humidity['sensor_current'],1); diff --git a/html/pages/health/temperatures.inc.php b/html/pages/health/temperatures.inc.php index d9191ea77f..ec9c264b0b 100644 --- a/html/pages/health/temperatures.inc.php +++ b/html/pages/health/temperatures.inc.php @@ -29,7 +29,7 @@ while($temp = mysql_fetch_array($query)) if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } $weekly_temp = "graph.php?id=" . $temp['sensor_id'] . "&type=".$graph_type."&from=$week&to=$now&width=500&height=150"; - $temp_popup = "', LEFT);\" onmouseout=\"return nd();\"> + $temp_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $temp['sensor_descr'] . ""; $temp['sensor_current'] = round($temp['sensor_current'],1); diff --git a/html/pages/health/voltages.inc.php b/html/pages/health/voltages.inc.php index 70c7b8c9a2..1050c60628 100644 --- a/html/pages/health/voltages.inc.php +++ b/html/pages/health/voltages.inc.php @@ -29,7 +29,7 @@ while($volt = mysql_fetch_array($query)) if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } $weekly_volt = "graph.php?id=" . $volt['sensor_id'] . "&type=".$graph_type."&from=$week&to=$now&width=500&height=150"; - $volt_popup = "', LEFT);\" onmouseout=\"return nd();\"> + $volt_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $volt['sensor_descr'] . ""; if($volt['sensor_current'] >= $volt['sensor_limit']) { $alert = 'alert'; } else { $alert = ""; }