mirror of
https://github.com/librenms/librenms.git
synced 2024-09-29 14:26:25 +00:00
Hide divider if there are no active plugins
This commit is contained in:
parent
448b634861
commit
0a25664d82
@ -433,8 +433,12 @@ Plugins::call('menu');
|
||||
|
||||
if ($_SESSION['userlevel'] >= '10')
|
||||
{
|
||||
if (dbFetchCell("SELECT COUNT(*) from `plugins` WHERE plugin_active = '1'" > 0) {
|
||||
echo('
|
||||
<li role="presentation" class="divider"></li>
|
||||
');
|
||||
}
|
||||
echo('
|
||||
<li><a href="plugin/view=admin"> <i class="fa fa-lock fa-fw fa-lg"></i>Plugin Admin</a></li>
|
||||
');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user