summaryrefslogtreecommitdiff
path: root/src/application/views/nav_guest.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/views/nav_guest.php')
-rw-r--r--src/application/views/nav_guest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/application/views/nav_guest.php b/src/application/views/nav_guest.php
new file mode 100644
index 0000000..433c487
--- /dev/null
+++ b/src/application/views/nav_guest.php
@@ -0,0 +1,6 @@
+<ul class="nav navbar-nav navbar-right">
+<li<?= $GLOBALS["action"] === "auth" ? ' class="active"' : '' ?>><a href="?_action=auth">Log in</a></li>
+<?php if (REGISTRATION_ENABLED): ?>
+<li<?= $GLOBALS["action"] === "register" ? ' class="active"' : '' ?>><a href="?_action=register">Register</a></li>
+<?php endif; ?>
+</ul> \ No newline at end of file