diff options
Diffstat (limited to 'includes/templates')
-rwxr-xr-x | includes/templates/404.php | 4 | ||||
-rwxr-xr-x | includes/templates/head.php | 4 | ||||
-rwxr-xr-x | includes/templates/header.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/includes/templates/404.php b/includes/templates/404.php index 8815b91..db1171d 100755 --- a/includes/templates/404.php +++ b/includes/templates/404.php @@ -1,8 +1,8 @@ <!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<title>cflip.net forum</title>
- <link rel="stylesheet" href="styles/style.css">
+ <link rel="stylesheet" href="/styles/style.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
diff --git a/includes/templates/head.php b/includes/templates/head.php index d7c5758..07b6e80 100755 --- a/includes/templates/head.php +++ b/includes/templates/head.php @@ -1,4 +1,4 @@ -<link rel="stylesheet" href="styles/style.css">
-<link rel="icon" href="img/favicon.png">
+<link rel="stylesheet" href="/styles/style.css">
+<link rel="icon" href="/img/favicon.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
\ No newline at end of file diff --git a/includes/templates/header.php b/includes/templates/header.php index 45ec7e6..8187cb8 100755 --- a/includes/templates/header.php +++ b/includes/templates/header.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>
|