Show log state color in header

This commit is contained in:
Kyle Johnson 2014-11-02 14:54:08 +00:00
parent ee2e0a5aec
commit 28a4de809b
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<li><a href="?view=filter&amp;filter[terms][0][attr]=DateTime&amp;filter[terms][0][op]=%3c&amp;filter[terms][0][val]=now"><?= $SLANG['Filters'] ?></a></li> <li><a href="?view=filter&amp;filter[terms][0][attr]=DateTime&amp;filter[terms][0][op]=%3c&amp;filter[terms][0][val]=now"><?= $SLANG['Filters'] ?></a></li>
<li><a href="?view=options"><?= $SLANG['Options'] ?></a></li> <li><a href="?view=options"><?= $SLANG['Options'] ?></a></li>
<?php if ( logToDatabase() > Logger::NOLOG ) { ?> <?php if ( logToDatabase() > Logger::NOLOG ) { ?>
<li><a href="?view=log"><?= $SLANG['Log'] ?></a></li> <li><a href="?view=log"><span class="<?= logState(); ?>"><?= $SLANG['Log'] ?></span></a></li>
<?php } ?> <?php } ?>
<li><a href="?view=groups"><?= sprintf( $CLANG['MonitorCount'], count($displayMonitors), zmVlang( $VLANG['Monitor'], count($displayMonitors) ) ).($group?' ('.$group['Name'].')':'')?></a></li> <li><a href="?view=groups"><?= sprintf( $CLANG['MonitorCount'], count($displayMonitors), zmVlang( $VLANG['Monitor'], count($displayMonitors) ) ).($group?' ('.$group['Name'].')':'')?></a></li>
<?php if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?> <?php if ( ZM_OPT_X10 && canView( 'Devices' ) ) { ?>