diff options
Diffstat (limited to 'includes/templates/header.php')
-rwxr-xr-x | includes/templates/header.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/templates/header.php b/includes/templates/header.php index 8187cb8..c70821a 100755 --- a/includes/templates/header.php +++ b/includes/templates/header.php @@ -1,8 +1,8 @@ <header>
<h1>cflip.net forum</h1>
<p>
-[<a href="/">Home</a>]
-[<a href="/create_thread.php">Create a thread</a>]
+[<a href="./">Home</a>]
+[<a href="create_thread.php">Create a thread</a>]
<span style="float:right;">
<?php
include_once './includes/Session.php';
@@ -10,9 +10,9 @@ if (Session::get()->is_signed_in()) {
$user = Session::get()->get_current_user();
- echo '[<a href="/viewuser.php?id=' . $user->id . '">' . $user->name . '\'s Profile</a>] [<a href="signout.php">Log out</a>]';
+ echo '[<a href="viewuser.php?id=' . $user->id . '">' . $user->name . '\'s Profile</a>] [<a href="signout.php">Log out</a>]';
} else {
- echo '[<a href="/signin.php">Sign in</a>] or [<a href="/register.php">Register an account</a>]';
+ echo '[<a href="signin.php">Sign in</a>] or [<a href="register.php">Register an account</a>]';
}
?>
</span>
|