From fe73abc4ee41989d40b6bec0dbee1391470f97e6 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 10 Dec 2019 14:05:36 +1000 Subject: New config for "allowed" graphs, so people can hide some of them. --- inc/html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/html.inc.php') diff --git a/inc/html.inc.php b/inc/html.inc.php index deebdc0..bc38b24 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php @@ -181,7 +181,7 @@ function plugins_list($host, $selected_plugins = array()) { # other plugins foreach($plugins as $plugin) { - if (!in_array($plugin, $CONFIG['overview'])) { + if (in_array($plugin, $CONFIG['allowed'])) { printf("
  • %s
  • \n", selected_plugin($plugin, $selected_plugins), htmlentities($CONFIG['weburl']), -- cgit v1.1