Nascosti pulsanti nel top per utenti diversi da amministratori

This commit is contained in:
MatteoPistorello 2022-06-10 16:08:11 +02:00
parent 2b5ade13b9
commit 2a9472c428
1 changed files with 6 additions and 2 deletions

View File

@ -399,8 +399,10 @@ if (Auth::check()) {
<li class="nav-button" >
<p style="padding:10px 15px;">&nbsp;</p>
</li>
</li>';
if ($user->gruppo == 'Amministratori') {
echo '
<li class="dropdown notifications-menu nav-button">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
@ -425,8 +427,10 @@ if (Auth::check()) {
<li class="nav-button"><a href="'.base_path().'/log.php" class="tip nav-button" title="'.tr('Log accessi').'">
<i class="fa fa-book"></i>
</a></li>
</a></li>';
}
echo '
<li class="nav-button"><a href="'.base_path().'/info.php" class="tip nav-button" title="'.tr('Informazioni').'">
<i class="fa fa-info"></i>
</a></li>