mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
updated condition to show admin/user in the top panel
This commit is contained in:
parent
4296cfcc4f
commit
408e1b7bf8
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<b><a class="top-<?php if($TAB == 'LOG' ) echo 'selected-' ?>link" href="/list/log/"> <?php print _('Log') ?> </a></b>
|
||||
</td>
|
||||
<td>
|
||||
<b><?php if($user != 'admin') echo 'admin / ' ?><?php echo $user ?></b>
|
||||
<b><?php if(($_SESSION['user'] == 'admin') && ($user != 'admin')) echo 'admin / ' ?><?php echo $user ?></b>
|
||||
<a class="top-link" style="padding: 5px 0px 5px 2px; border:0px" href="/logout/"> <?php print _('Log out') ?> </a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue