aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-02-21 00:53:20 +0100
committerSem <sembrestels@riseup.net>2013-02-21 00:53:20 +0100
commit210f4fbdd2cb89d56167b0a367de991bfcd44acc (patch)
treea348374fc55b497806d9b65a05357fe693dfeff1 /views
parent9cffddf0969ee63002c2a6c3574bdc796849e9ee (diff)
parentb56c888650b1bfc127f9a8314a33a136eb752e66 (diff)
downloadelgg-210f4fbdd2cb89d56167b0a367de991bfcd44acc.tar.gz
elgg-210f4fbdd2cb89d56167b0a367de991bfcd44acc.tar.bz2
Merge branch 'master' of gitorious.org:lorea/html5
Diffstat (limited to 'views')
-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; ?>