summaryrefslogtreecommitdiffstats
path: root/app/view/stdpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/stdpage.php')
-rw-r--r--app/view/stdpage.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php
index 1629dbf..acd1ba2 100644
--- a/app/view/stdpage.php
+++ b/app/view/stdpage.php
@@ -17,6 +17,7 @@ namespace stdpage;
require_once "class/globals.php";
require_once "class/user.class.php";
require_once "view/datamods.php";
+require_once "view/settings.php";
?>
<?php function head(?string $title = NULL) : void { ?>
@@ -166,6 +167,7 @@ require_once "view/datamods.php";
<?=about()?>
<?php if (\user::getCurrent()) { ?>
+ <?=\settings\settings()?>
<?=\datamods\newGroup()?>
<?=\datamods\newPad()?>
<?php } ?>
@@ -224,10 +226,9 @@ require_once "view/datamods.php";
</a>
<ul class="dropdown-menu">
- <li><a href="#">TODO</a></li>
- <li><a href="#">TODO</a></li>
<li><a href="#" data-toggle="modal" data-target="#aboutModal">About Scrott</a></li>
- <li><a href="#">TODO</a></li>
+ <li><a href="#" data-toggle="modal" data-target="#settingsModal">Settings</a></li>
+ <li><a href="<?=ar()?>/logout">Log out</a></li>
</ul>
</li>
</ul>