diff options
Diffstat (limited to '')
| -rw-r--r-- | host.php | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -22,7 +22,7 @@ if(!$plugins) { | |||
| 22 | foreach($CONFIG['overview'] as $plugin) { | 22 | foreach($CONFIG['overview'] as $plugin) { |
| 23 | if (in_array($plugin, $plugins)) { | 23 | if (in_array($plugin, $plugins)) { |
| 24 | printf('<div id="%s">'."\n", $plugin); | 24 | printf('<div id="%s">'."\n", $plugin); |
| 25 | printf("<h3><span class=\"point\" onclick=\"javascript:rmP('%s','%s')\"><img src=\"%s/layout/minus.gif\" alt=\"[-]\"> %s</span></h3>\n", $host, $plugin, $CONFIG['weburl'], $plugin); | 25 | plugin_header($host, $plugin, 0); |
| 26 | graphs_from_plugin($host, $plugin); | 26 | graphs_from_plugin($host, $plugin); |
| 27 | print "</div>\n"; | 27 | print "</div>\n"; |
| 28 | } | 28 | } |
| @@ -33,10 +33,10 @@ foreach($plugins as $plugin) { | |||
| 33 | if (!in_array($plugin, $CONFIG['overview'])) { | 33 | if (!in_array($plugin, $CONFIG['overview'])) { |
| 34 | printf('<div id="%s">'."\n", $plugin); | 34 | printf('<div id="%s">'."\n", $plugin); |
| 35 | if ($splugin == $plugin) { | 35 | if ($splugin == $plugin) { |
| 36 | printf("<h3><span class=\"point\" onclick=\"javascript:rmP('%s','%s')\"><img src=\"%s/layout/minus.gif\" alt=\"[-]\"> %s</span></h3>\n", $host, $plugin, $CONFIG['weburl'], $plugin); | 36 | plugin_header($host, $plugin, 0); |
| 37 | graphs_from_plugin($host, $plugin); | 37 | graphs_from_plugin($host, $plugin); |
| 38 | } else { | 38 | } else { |
| 39 | printf("<h3><span class=\"point\" onclick=\"javascript:getP('%s','%s')\"><img src=\"%s/layout/plus.gif\" alt=\"[+]\"> %s</span></h3>\n", $host, $plugin, $CONFIG['weburl'], $plugin); | 39 | plugin_header($host, $plugin, 1); |
| 40 | } | 40 | } |
| 41 | print "</div>\n"; | 41 | print "</div>\n"; |
| 42 | } | 42 | } |
