aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
authoronefang2019-12-10 14:05:36 +1000
committeronefang2019-12-10 14:05:36 +1000
commitfe73abc4ee41989d40b6bec0dbee1391470f97e6 (patch)
treeb4e6f678194fcfee5ee5fa009213320012d2fefc /inc/html.inc.php
parentA few style tweaks, mostly to a dark theme. (diff)
downloadapt-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 '')
-rw-r--r--inc/html.inc.php2
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&amp;p=%s\">%s</a></li>\n", 185 printf("<li><a %shref=\"%shost.php?h=%s&amp;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']),