From c2cc17212e02625097d32322c01e06c4d64539cb Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Thu, 26 Sep 2013 12:35:19 +0100 Subject: Update "status_rrd_graph.php" XHTML Update SCRIPT statements with CDATA Move the close HEAD statement Move the FORM statement outside the main table Close INPUT tag Update HTML Boolean operators Add closing table cell (TD) and table row (TR) tags so that the rows are closed properly before the IMG (RRD graph) tags Tidy up the IMG (RRD graph) tag Close HR tag --- usr/local/www/status_rrd_graph.php | 63 ++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 30 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 16150cc..e920535 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -281,6 +281,7 @@ include("head.inc"); - + - + +
- - "> + " />
- +
@@ -454,7 +456,7 @@ function get_dates($curperiod, $graph) { \n"; } ?> - - + - - "> + + " /> + \n"; } } else { @@ -629,22 +633,21 @@ function get_dates($curperiod, $graph) { $dates = get_dates($curperiod, $graph); $start = $dates['start']; $end = $dates['end']; - echo "\n"; } } } } ?> - - -

- + \n"; + echo "
\n"; - echo "\"$prettydb\n"; - echo "


\n"; + echo "
\n"; + echo "\"$prettydb\n"; + echo "


\n"; echo "
\n"; - echo "\"$prettydb\n"; - echo "


\n"; + echo "
\n"; + echo "\"$prettydb\n"; + echo "


\n"; echo "
- -
@@ -725,7 +728,7 @@ function get_dates($curperiod, $graph) {
- + -- cgit v1.1