aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/default.php')
-rw-r--r--views/default/page/default.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/views/default/page/default.php b/views/default/page/default.php
index a0e6d4037..40ad2c69f 100644
--- a/views/default/page/default.php
+++ b/views/default/page/default.php
@@ -30,13 +30,11 @@ $header = elgg_view('page/elements/header', $vars);
$body = elgg_view('page/elements/body', $vars);
$footer = elgg_view('page/elements/footer', $vars);
-// Set the content type
-header("Content-type: text/html; charset=UTF-8");
-
?>
<!DOCTYPE html>
<html lang="<?php echo get_current_language(); ?>">
<head>
+<meta charset="UTF-8">
<?php echo elgg_view('page/elements/head', $vars); ?>
</head>
<body>
@@ -44,7 +42,7 @@ header("Content-type: text/html; charset=UTF-8");
<div class="elgg-page-messages">
<?php echo $messages; ?>
</div>
-
+
<?php if (elgg_is_logged_in()): ?>
<header class="elgg-page-topbar">
<div class="elgg-inner">
@@ -52,7 +50,7 @@ header("Content-type: text/html; charset=UTF-8");
</div>
</header>
<?php endif; ?>
-
+
<header class="elgg-page-header">
<div class="elgg-inner">
<?php echo $header; ?>