Skip to content
Snippets Groups Projects
Commit 5174c30c authored by Bye's avatar Bye
Browse files

Add dashboard to header

parent 539792e6
Branches
No related tags found
1 merge request!4Draft: Merge rewrite branch into main
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<?php <?php
if ($_SESSION['auth']) { if ($_SESSION['auth']) {
echo '<div class="item">' . get_string("header.hello", ['display_name' => get_user_display_name($_SESSION['id'])]) . '</div>'; echo '<div class="item">' . get_string("header.hello", ['display_name' => get_user_display_name($_SESSION['id'])]) . '</div>';
echo '<a class="item" href="/dashboard">' . get_string('page.dashboard') . '</a>';
echo '<div class="item"><a href="/auth/signout">'. get_string('auth.signout') .'</a></div>'; echo '<div class="item"><a href="/auth/signout">'. get_string('auth.signout') .'</a></div>';
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment