From 024e13d65319172a028e2d22a41779e0d72f46f3 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Tue, 20 Sep 2011 15:41:59 +0000 Subject: [PATCH] htmlfix; remove now resolved discussion comments git-svn-id: http://www.observium.org/svn/observer/trunk@2522 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/graphs.inc.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php index ac334f42a..351627540 100644 --- a/html/pages/graphs.inc.php +++ b/html/pages/graphs.inc.php @@ -31,12 +31,6 @@ if (!$auth) { include("includes/error-no-perm.inc.php"); } else { - -# Do we really need to show the type? User does not have to see the type of graph (i.e. sensor_temperature) - -# Yes, i think we doo, else we have graph titles of "router1". It's nice to show the type here. maybe only the pretty -# array_type? - if (isset($config['graph_types'][$type][$subtype]['descr'])) { $title .= " :: ".$config['graph_types'][$type][$subtype]['descr']; } else { $title .= " :: ".$graph_type; } $graph_array['height'] = "60"; @@ -50,12 +44,11 @@ if (!$auth) echo($title); print_optionbar_end(); - echo("
"); + echo('
'); $thumb_array = array('sixhour' => '6 Hours', 'day' => '24 Hours', 'twoday' => '48 Hours', 'week' => 'One Week', 'twoweek' => 'Two Weeks', 'month' => 'One Month', 'twomonth' => 'Two Months','year' => 'One Year', 'twoyear' => 'Two Years'); - foreach ($thumb_array as $period => $text) { $graph_array['from'] = $config['time'][$period]; @@ -66,9 +59,9 @@ if (!$auth) $link_array['page'] = "graphs"; $link = generate_url($link_array); - echo("
- ".$text."
- "); + echo('"); @@ -82,7 +75,7 @@ if (!$auth) echo generate_graph_js_state($graph_array); - echo("
"); + echo('
'); echo(generate_graph_tag($graph_array)); echo("
"); }