Hide divider if there are no active plugins

This commit is contained in:
Mike Rostermund 2015-04-15 07:13:42 -07:00
parent 448b634861
commit 0a25664d82

View File

@ -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>
');
}