Remove php from header.php

This commit is contained in:
Kyle Johnson 2015-02-11 13:47:36 -05:00
parent 23b50f044e
commit 2187e9a99c
1 changed files with 6 additions and 13 deletions

View File

@ -7,19 +7,12 @@
</button>
<ul class="nav navbar-nav pull-right">
<li><a href="?view=events"><?= $SLANG['Events']; ?></a></li>
<li><a href="?view=timeline"><?= $SLANG['Timeline']; ?></a></li>
<li><a href="?view=options"><?= $SLANG['Options'] ?></a></li>
<?php if ( logToDatabase() > Logger::NOLOG ) { ?>
<li><a href="?view=log"><span class="<?= logState(); ?>"><?= $SLANG['Log'] ?></span></a></li>
<?php } if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>
<li><a href="?view=devices"><?= $SLANG['Devices'] ?></a></li>
<?php } ?>
<?php if ($running) ?>
<li><a href="?view=cycle&amp;group=<?= $cycleGroup ?>"><?= $SLANG['Cycle'] ?></a></li>
<li><a href="?view=montage&amp;group=<?= $cycleGroup ?>"><?= $SLANG['Montage'] ?></a></li>
<li><a href="?view=host">Host</a></li>
<?php ?>
<li><a href="?view=events">Events</a></li>
<li><a href="?view=timeline">Timeline</a></li>
<li><a href="?view=options">Options</a></li>
<li><a href="?view=log">Logs</span></a></li>
<li><a href="?view=devices">Devices</a></li>
<li><a href="?view=host">Host</a></li>
</ul>
</div>
</nav>