mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Fix permissions-related bug in menu appearance
This commit is contained in:
parent
f29be662a6
commit
f9fd80423f
@ -59,7 +59,7 @@ function tpl_menu() { global $page, $mibewroot, $errors;
|
||||
<li<?php menuli("translate")?>><a href="<?php echo $mibewroot ?>/operator/translate.php"><?php echo getlocal('menu.translate') ?></a></li>
|
||||
<li<?php menuli("updates")?>><a href="<?php echo $mibewroot ?>/operator/updates.php"><?php echo getlocal('menu.updates') ?></a></li>
|
||||
<?php } ?>
|
||||
<?php if(isset($page['shownotifications']) && $page['shownotifications']) { ?>
|
||||
<?php if(isset($page['showadmin']) && $page['showadmin'] || isset($page['shownotifications']) && $page['shownotifications']) { ?>
|
||||
<li<?php menuli("notifications")?>><a href="<?php echo $mibewroot ?>/operator/notifications.php"><?php echo getlocal('menu.notifications') ?></a></li>
|
||||
<?php } ?>
|
||||
<?php if(isset($page['currentopid']) && $page['currentopid']) {?>
|
||||
|
Loading…
Reference in New Issue
Block a user