From 086e2d2668784469ec114f6e6fd2b3dace3d7c3b Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Thu, 12 Sep 2024 19:49:17 +0200
Subject: Way more progress on forum

---
 src/application/views/nav_guest.php | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 src/application/views/nav_guest.php

(limited to 'src/application/views/nav_guest.php')

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
-- 
cgit v1.2.3