mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Top X boxes can now be switched off
This commit is contained in:
@@ -20,10 +20,17 @@ echo('
|
||||
data-cycle-slides="> div">
|
||||
');
|
||||
|
||||
foreach (get_matching_files($config['html_dir']."/includes/front/", "/^top_.*\.php$/") as $file) {
|
||||
echo("<div class=box>\n");
|
||||
include_once($file);
|
||||
echo("</div>\n");
|
||||
foreach (get_matching_files($config['html_dir']."/includes/front/", "/^top_.*\.php$/") as $file)
|
||||
{
|
||||
if(($file == 'top_ports.inc.php' && $config['top_ports'] == 0) || ($file == 'top_device_bits.inc.php' && $config['top_devices'] == 0))
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
echo("<div class=box>\n");
|
||||
include_once($file);
|
||||
echo("</div>\n");
|
||||
}
|
||||
}
|
||||
|
||||
echo("</div>\n");
|
||||
|
Reference in New Issue
Block a user