summaryrefslogtreecommitdiff
path: root/src/application/views/template_navigation.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/views/template_navigation.php')
-rw-r--r--src/application/views/template_navigation.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/application/views/template_navigation.php b/src/application/views/template_navigation.php
new file mode 100644
index 0000000..d39c1ea
--- /dev/null
+++ b/src/application/views/template_navigation.php
@@ -0,0 +1,6 @@
+<?php
+if ($user) {
+ _view("nav_logged_in", ["user" => $user]);
+} else {
+ _view("nav_guest");
+}