summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/include')
-rw-r--r--frontend/include/header.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/include/header.php b/frontend/include/header.php
index 0822f68..4a60969 100644
--- a/frontend/include/header.php
+++ b/frontend/include/header.php
@@ -32,6 +32,9 @@ if (isset($S['head'])) {
echo '<li><a href="'.url().'">Home</a></li>';
echo '<li><a href="'.url('create').'">Create an image</a></li>';
echo '<li><a href="'.url('logs').'">Log viewer</a></li>';
+if (isset($S['user']) && $S['user']->hasflag('a')) {
+ echo '<li><a href="'.url('invite').'">Invite</a></li>';
+}
?>
</ul>
</div>