diff options
author | onefang | 2019-12-10 14:05:36 +1000 |
---|---|---|
committer | onefang | 2019-12-10 14:05:36 +1000 |
commit | fe73abc4ee41989d40b6bec0dbee1391470f97e6 (patch) | |
tree | b4e6f678194fcfee5ee5fa009213320012d2fefc /inc/html.inc.php | |
parent | A few style tweaks, mostly to a dark theme. (diff) | |
download | apt-panopticon_cgp-fe73abc4ee41989d40b6bec0dbee1391470f97e6.zip apt-panopticon_cgp-fe73abc4ee41989d40b6bec0dbee1391470f97e6.tar.gz apt-panopticon_cgp-fe73abc4ee41989d40b6bec0dbee1391470f97e6.tar.bz2 apt-panopticon_cgp-fe73abc4ee41989d40b6bec0dbee1391470f97e6.tar.xz |
New config for "allowed" graphs, so people can hide some of them.
Diffstat (limited to 'inc/html.inc.php')
-rw-r--r-- | inc/html.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { | |||
181 | 181 | ||
182 | # other plugins | 182 | # other plugins |
183 | foreach($plugins as $plugin) { | 183 | foreach($plugins as $plugin) { |
184 | if (!in_array($plugin, $CONFIG['overview'])) { | 184 | if (in_array($plugin, $CONFIG['allowed'])) { |
185 | printf("<li><a %shref=\"%shost.php?h=%s&p=%s\">%s</a></li>\n", | 185 | printf("<li><a %shref=\"%shost.php?h=%s&p=%s\">%s</a></li>\n", |
186 | selected_plugin($plugin, $selected_plugins), | 186 | selected_plugin($plugin, $selected_plugins), |
187 | htmlentities($CONFIG['weburl']), | 187 | htmlentities($CONFIG['weburl']), |