From 60fb79ac97869b8333621380828dd1b84a069990 Mon Sep 17 00:00:00 2001 From: Rohit Bhute Date: Sun, 17 Mar 2013 13:40:38 +0530 Subject: add feature to show a subset of graphs from a plugin on overview page --- host.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host.php') diff --git a/host.php b/host.php index 71d786a..363e9d5 100644 --- a/host.php +++ b/host.php @@ -22,11 +22,13 @@ if(!$plugins) { plugins_list($host, $selected_plugins); +$overview = empty($plugin) ? true : false; + echo '
'; foreach ($selected_plugins as $selected_plugin) { if (in_array($selected_plugin, $plugins)) { plugin_header($host, $selected_plugin); - graphs_from_plugin($host, $selected_plugin); + graphs_from_plugin($host, $selected_plugin, $overview); } } echo '
'; -- cgit v1.1