Add Events to main nav

This commit is contained in:
Kyle Johnson 2014-11-02 12:42:40 +00:00
parent f847ad548a
commit ee2e0a5aec
2 changed files with 4 additions and 1 deletions

View File

@ -118,6 +118,9 @@ xhtmlHeaders(__FILE__, $SLANG['Events'] );
?> ?>
<body> <body>
<?php include("header.php"); ?>
<div id="page"> <div id="page">
<div id="header"> <div id="header">
<div id="headerButtons"> <div id="headerButtons">
@ -138,7 +141,6 @@ if ( $pages > 1 )
} }
} }
?> ?>
<a href="#" onclick="closeWindows();"><?= $SLANG['Close'] ?></a>
</div> </div>
<h2><?= sprintf( $CLANG['EventCount'], $nEvents, zmVlang( $VLANG['Event'], $nEvents ) ) ?></h2> <h2><?= sprintf( $CLANG['EventCount'], $nEvents, zmVlang( $VLANG['Event'], $nEvents ) ) ?></h2>
</div> </div>

View File

@ -16,6 +16,7 @@
</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><a href="?view=events"><?= $SLANG['Events']; ?></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=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 ) { ?>