summaryrefslogtreecommitdiff
path: root/src/application/views/nav_guest.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-17 14:51:23 +0200
committerJonas Kohl2024-09-17 14:51:23 +0200
commita65d424263adfbff9629c7d91a613e4504c84613 (patch)
tree7d89c6d85168427782ae8c24625db14df90e376a /src/application/views/nav_guest.php
parentf6dd78734f86f8daed7c5d472e7a199301095ff8 (diff)
Add search
Diffstat (limited to 'src/application/views/nav_guest.php')
-rw-r--r--src/application/views/nav_guest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/application/views/nav_guest.php b/src/application/views/nav_guest.php
index 1c65a50..88c551b 100644
--- a/src/application/views/nav_guest.php
+++ b/src/application/views/nav_guest.php
@@ -1,4 +1,5 @@
<ul class="nav navbar-nav navbar-right">
+<li<?= $GLOBALS["action"] === "search" ? ' class="active"' : '' ?>><a href="?_action=search"><span class="glyphicon glyphicon-search" aria-hidden="true"></span><span class="sr-only"><?= __("Search") ?></span></a></li>
<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>