Merge pull request #1010 from pytesNET/master

Enable adminSidebar() also for Editors
This commit is contained in:
Diego Najar 2019-03-29 14:47:40 +01:00 committed by GitHub
commit 30a4354207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,10 @@
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a>
</li>
<?php endif; ?>
<?php if (checkRole(array('admin', 'editor'),false)): ?>
<?php
if (!empty($plugins['adminSidebar'])) {
echo '<li class="nav-item"><hr></li>';
@ -68,6 +72,7 @@
}
}
?>
<?php endif; ?>
<li class="nav-item mt-5">