diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php index 3ad2439..fd32b38 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php | |||
@@ -75,8 +75,10 @@ function plugins_list($host, $overview_plugins, $other_plugins, $selected_plugin | |||
75 | 75 | ||
76 | # first the ones defined as ordered | 76 | # first the ones defined as ordered |
77 | foreach($overview_plugins as $plugin) { | 77 | foreach($overview_plugins as $plugin) { |
78 | $selected = selected_plugin($plugin, $selected_plugins); | 78 | if (in_array($plugin, $other_plugins)) { |
79 | printf("<li><a %s href='%shost.php?h=%s&p=%s'>%s</a></li>\n", $selected, $CONFIG['weburl'], $host, $plugin, $plugin); | 79 | $selected = selected_plugin($plugin, $selected_plugins); |
80 | printf("<li><a %s href='%shost.php?h=%s&p=%s'>%s</a></li>\n", $selected, $CONFIG['weburl'], $host, $plugin, $plugin); | ||
81 | } | ||
80 | } | 82 | } |
81 | 83 | ||
82 | # other plugins | 84 | # other plugins |