summaryrefslogtreecommitdiff
path: root/src/application/views/nav_guest.php
blob: 1c65a50113529a491283caf28e3ba6d5ec9d648c (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>