Use <a> elements intead of makePopupLink() in header
This commit is contained in:
parent
1436414ddc
commit
23b367614b
|
@ -14,19 +14,14 @@
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav navbar-nav pull-right">
|
<ul class="nav navbar-nav pull-right">
|
||||||
<li><a href="?view=console"><?= $SLANG['Console']; ?></a></li>
|
<li><a href="?view=console"><?= $SLANG['Console']; ?></a></li>
|
||||||
<li>
|
<li><a href="?view=filter&filter[terms][0][attr]=DateTime&filter[terms][0][op]=%3c&filter[terms][0][val]=now"><?= $SLANG['Filters'] ?></a></li>
|
||||||
<?= makePopupLink( '?view=options', 'zmOptions', 'options', $SLANG['Options'] ) ?>
|
<li><a href="?view=options"><?= $SLANG['Options'] ?></a></li>
|
||||||
</li>
|
|
||||||
<?php if ( logToDatabase() > Logger::NOLOG ) { ?>
|
<?php if ( logToDatabase() > Logger::NOLOG ) { ?>
|
||||||
<li>
|
<li><a href="?view=log"><?= $SLANG['Log'] ?></a></li>
|
||||||
<?= makePopupLink( '?view=log', 'zmLog', 'log', '<span class="'.logState().'">'.$SLANG['Log'].'</span>' ) ?>
|
|
||||||
</li>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<li>
|
<li><a href="?view=groups"><?= sprintf( $CLANG['MonitorCount'], count($displayMonitors), zmVlang( $VLANG['Monitor'], count($displayMonitors) ) ).($group?' ('.$group['Name'].')':'')?></a></li>
|
||||||
<?= makePopupLink( '?view=groups', 'zmGroups', 'groups', sprintf( $CLANG['MonitorCount'], count($displayMonitors), zmVlang( $VLANG['Monitor'], count($displayMonitors) ) ).($group?' ('.$group['Name'].')':''), canView( 'System' ) ); ?>
|
|
||||||
</li>
|
|
||||||
<?php if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>
|
<?php if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>
|
||||||
<li><?= makePopupLink( '?view=devices', 'zmDevices', 'devices', $SLANG['Devices'] ) ?></li>
|
<li><a href="?view=devices"><?= $SLANG['Devices'] ?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($running) ?>
|
<?php if ($running) ?>
|
||||||
<li><a href="?view=cycle&group=<?= $cycleGroup ?>"><?= $SLANG['Cycle'] ?></a></li>
|
<li><a href="?view=cycle&group=<?= $cycleGroup ?>"><?= $SLANG['Cycle'] ?></a></li>
|
||||||
|
|
Loading…
Reference in New Issue