We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4296cfc commit 408e1b7Copy full SHA for 408e1b7
web/templates/user/panel.html
@@ -13,7 +13,7 @@
13
<b><a class="top-<?php if($TAB == 'LOG' ) echo 'selected-' ?>link" href="/list/log/"> <?php print _('Log') ?> </a></b>
14
</td>
15
<td>
16
- <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>
17
<a class="top-link" style="padding: 5px 0px 5px 2px; border:0px" href="/logout/"> <?php print _('Log out') ?> </a>
18
19
</tr>
0 commit comments