summaryrefslogtreecommitdiff
path: root/src/application/views/nav_guest.php
blob: f8977639151ab1de1eb427502c037f1ace87f5c9 (plain)
1
2
3
4
5
6
<ul class="nav navbar-nav navbar-right">
<li<?= $GLOBALS["action"] === "auth" ? ' class="active"' : '' ?>><a href="?_action=auth&amp;next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>">Log in</a></li>
<?php if (REGISTRATION_ENABLED): ?>
<li<?= $GLOBALS["action"] === "register" ? ' class="active"' : '' ?>><a href="?_action=register&amp;next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>">Register</a></li>
<?php endif; ?>
</ul>