summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/header.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/header.php b/includes/header.php
index 4e50d77..86329a9 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -93,12 +93,12 @@ function topbar($links) {
echo "<div id='user'>";
if ($_SESSION['accepted'] == 1) {
- echo "Logged in as <a href='?page=cp' title='change name'>$_SESSION[displayName]</a><br>";
+ echo "Logged in as <a href='cp' title='change name'>$_SESSION[displayName]</a><br>";
if ($_SESSION['displayName'] == 'noname')
- echo "<a href='?page=cp' title='change name'>Update your name</a> | ";
- echo "<a href='?page=logout'>Logout</a>";
+ echo "<a href='cp' title='change name'>Update your name</a> | ";
+ echo "<a href='logout'>Logout</a>";
} else
- echo "<a href='?page=login'>Sign in with Google</a>";
+ echo "<a href='login'>Sign in with Google</a>";
echo "</div>";
echo "</div>";