Oops. Move Console view outside of canView(system) restriction
This commit is contained in:
parent
f05c1548ce
commit
26748c2de5
|
@ -191,8 +191,8 @@ $versionClass = (ZM_DYN_DB_VERSION&&(ZM_DYN_DB_VERSION!=ZM_VERSION))?'errorText'
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<?php if ( canView( 'System' ) ) { ?>
|
|
||||||
<li><a href="?view=console"><?php echo translate('Console') ?></a></li>
|
<li><a href="?view=console"><?php echo translate('Console') ?></a></li>
|
||||||
|
<?php if ( canView( 'System' ) ) { ?>
|
||||||
<li><a href="?view=options"><?php echo translate('Options') ?></a></li>
|
<li><a href="?view=options"><?php echo translate('Options') ?></a></li>
|
||||||
<li><?php if ( logToDatabase() > Logger::NOLOG ) { ?> <?php echo makePopupLink( '?view=log', 'zmLog', 'log', '<span class="'.logState().'">'.translate('Log').'</span>' ) ?><?php } ?></li>
|
<li><?php if ( logToDatabase() > Logger::NOLOG ) { ?> <?php echo makePopupLink( '?view=log', 'zmLog', 'log', '<span class="'.logState().'">'.translate('Log').'</span>' ) ?><?php } ?></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
Loading…
Reference in New Issue