mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Header] Admin dropdown is only displayed to users with Admin role
This commit is contained in:
@@ -123,6 +123,7 @@
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<?php if(($this->config->item('use_auth')) && ($this->session->userdata('user_type') == 99)) { ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Admin</a>
|
||||
|
||||
@@ -160,6 +161,7 @@
|
||||
<?php } ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user