aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/detail.php b/detail.php
index b824d1d..fdeb777 100644
--- a/detail.php
+++ b/detail.php
@@ -21,12 +21,7 @@ $width = GET('x');
21$heigth = GET('y'); 21$heigth = GET('y');
22$seconds = GET('s'); 22$seconds = GET('s');
23 23
24if (!$plugin) { 24$selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin);
25 $selected_plugins = $CONFIG['overview'];
26}
27else {
28 $selected_plugins = array($plugin);
29}
30 25
31html_start(); 26html_start();
32 27
@@ -39,8 +34,7 @@ if(!$plugins) {
39 return false; 34 return false;
40} 35}
41 36
42plugins_list($host, $CONFIG['overview'], $plugins, $selected_plugins); 37plugins_list($host, $selected_plugins);
43
44 38
45echo '<div class="graphs">'; 39echo '<div class="graphs">';
46plugin_header($host, $plugin); 40plugin_header($host, $plugin);