From 2ef0c95caeddb48927edba64c68b7a8e469f0210 Mon Sep 17 00:00:00 2001 From: SamBrishes <sam@pytes.net> Date: Thu, 28 Mar 2019 21:37:50 +0100 Subject: [PATCH] Update sidebar.php --- bl-kernel/admin/themes/booty/html/sidebar.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bl-kernel/admin/themes/booty/html/sidebar.php b/bl-kernel/admin/themes/booty/html/sidebar.php index bd663f4f..4963f169 100644 --- a/bl-kernel/admin/themes/booty/html/sidebar.php +++ b/bl-kernel/admin/themes/booty/html/sidebar.php @@ -57,7 +57,11 @@ <li class="nav-item"> <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">