mirror of https://github.com/byecorps/id.git
Add dashboard to header
This commit is contained in:
parent
539792e6fe
commit
5174c30cec
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue