diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 329a9d2959..27cb18dbcf 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -153,7 +153,18 @@ echo('
  • -
  • Temps
  • +
  • Storage
  • diff --git a/html/pages/sensors.php b/html/pages/sensors.php new file mode 100644 index 0000000000..350fd9bc8e --- /dev/null +++ b/html/pages/sensors.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/html/pages/temperatures.php b/html/pages/sensors/temperatures.php similarity index 95% rename from html/pages/temperatures.php rename to html/pages/sensors/temperatures.php index 960a332da1..2d6b6ca5e3 100644 --- a/html/pages/temperatures.php +++ b/html/pages/sensors/temperatures.php @@ -26,9 +26,6 @@ while($temp = mysql_fetch_array($query)) { if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } - $speed = humanspeed($temp['ifSpeed']); - $type = humanmedia($temp['ifType']); - $weekly_temp = "graph.php?id=" . $temp['temp_id'] . "&type=temperature&from=$week&to=$now&width=500&height=150"; $temp_popup = "', LEFT);\" onmouseout=\"return nd();\"> " . $temp['temp_descr'] . ""; @@ -54,7 +51,7 @@ while($temp = mysql_fetch_array($query)) $alert " . $temp['temp_current'] . " °C " . $temp['temp_limit'] . " °C - " . $temp['temp_notes'] . " + " . (isset($temp['temp_notes']) ? $temp['temp_notes'] : '') . " \n"); $row++;