aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/detail.php b/detail.php
index b4ece36..8978350 100644
--- a/detail.php
+++ b/detail.php
@@ -15,12 +15,12 @@ if (empty($_GET['y']))
15if ($CONFIG['graph_type'] == 'hybrid') 15if ($CONFIG['graph_type'] == 'hybrid')
16 $CONFIG['graph_type'] = 'canvas'; 16 $CONFIG['graph_type'] = 'canvas';
17 17
18$host = validate_get(GET('h'), 'h'); 18$host = GET('h');
19$plugin = validate_get(GET('p'), 'p'); 19$plugin = GET('p');
20$pinstance = validate_get(GET('pi'), 'pi'); 20$pinstance = GET('pi');
21$category = validate_get(GET('c'), 'c'); 21$category = GET('c');
22$type = validate_get(GET('t'), 't'); 22$type = GET('t');
23$tinstance = validate_get(GET('ti'), 'ti'); 23$tinstance = GET('ti');
24$seconds = GET('s'); 24$seconds = GET('s');
25 25
26$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); 26$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin);
@@ -40,7 +40,7 @@ plugins_list($host, $selected_plugins);
40echo '<div class="graphs">'; 40echo '<div class="graphs">';
41plugin_header($host, $plugin); 41plugin_header($host, $plugin);
42 42
43$args = $_GET; 43$args = GET();
44print '<ul class="time-range">' . "\n"; 44print '<ul class="time-range">' . "\n";
45foreach($CONFIG['term'] as $key => $s) { 45foreach($CONFIG['term'] as $key => $s) {
46 $args['s'] = $s; 46 $args['s'] = $s;
@@ -59,7 +59,8 @@ if ($CONFIG['graph_type'] == 'canvas') {
59} else { 59} else {
60 printf("<img src=\"%s%s\">\n", 60 printf("<img src=\"%s%s\">\n",
61 htmlentities($CONFIG['weburl']), 61 htmlentities($CONFIG['weburl']),
62 htmlentities(build_url('graph.php', $_GET))); 62 htmlentities(build_url('graph.php', GET()))
63 );
63} 64}
64echo '</div>'; 65echo '</div>';
65echo "</fieldset>\n"; 66echo "</fieldset>\n";