diff options
Diffstat (limited to 'host.php')
-rw-r--r-- | host.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22,11 +22,13 @@ if(!$plugins) { | |||
22 | 22 | ||
23 | plugins_list($host, $selected_plugins); | 23 | plugins_list($host, $selected_plugins); |
24 | 24 | ||
25 | $overview = empty($plugin) ? true : false; | ||
26 | |||
25 | echo '<div class="graphs">'; | 27 | echo '<div class="graphs">'; |
26 | foreach ($selected_plugins as $selected_plugin) { | 28 | foreach ($selected_plugins as $selected_plugin) { |
27 | if (in_array($selected_plugin, $plugins)) { | 29 | if (in_array($selected_plugin, $plugins)) { |
28 | plugin_header($host, $selected_plugin); | 30 | plugin_header($host, $selected_plugin); |
29 | graphs_from_plugin($host, $selected_plugin); | 31 | graphs_from_plugin($host, $selected_plugin, $overview); |
30 | } | 32 | } |
31 | } | 33 | } |
32 | echo '</div>'; | 34 | echo '</div>'; |