Display cycle and montage as <a> element, only if running
This commit is contained in:
parent
bcbd73fe44
commit
c892e72ae8
|
@ -18,8 +18,10 @@
|
|||
<?php if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>
|
||||
<li><?= makePopupLink( '?view=devices', 'zmDevices', 'devices', $SLANG['Devices'] ) ?></li>
|
||||
<?php } ?>
|
||||
<li><?= makePopupLink( '?view=cycle&group='.$cycleGroup, 'zmCycle'.$cycleGroup, array( 'cycle', $cycleWidth, $cycleHeight ), $SLANG['Cycle'], $running ) ?></li>
|
||||
<li><?= makePopupLink( '?view=montage&group='.$cycleGroup, 'zmMontage'.$cycleGroup, 'montage', $SLANG['Montage'], $running ) ?></li>
|
||||
<?php if ($running) ?>
|
||||
<li><a href="?view=cycle&group=<?= $cycleGroup ?>"><?= $SLANG['Cycle'] ?></a></li>
|
||||
<li><a href="?view=montage&group=<?= $cycleGroup ?>"><?= $SLANG['Montage'] ?></a></li>
|
||||
<?php ?>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in New Issue