diff options
author | Sem <sembrestels@riseup.net> | 2013-08-23 04:57:44 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-08-23 04:57:44 +0200 |
commit | 46c365abd6e190a5c389b0dd49b02cd6e878ccd9 (patch) | |
tree | 118821edccd6210a7691c50bf98e1fc0692dc748 /views/default/page/default.php | |
parent | 8819bab8c0735c0ec428672fd36381c25823440b (diff) | |
download | elgg-46c365abd6e190a5c389b0dd49b02cd6e878ccd9.tar.gz elgg-46c365abd6e190a5c389b0dd49b02cd6e878ccd9.tar.bz2 |
Updated to Elgg 1.8.16.
Diffstat (limited to 'views/default/page/default.php')
-rw-r--r-- | views/default/page/default.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/views/default/page/default.php b/views/default/page/default.php index 491f691f4..aba69aebc 100644 --- a/views/default/page/default.php +++ b/views/default/page/default.php @@ -30,9 +30,14 @@ $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"); + +$lang = get_current_language(); + ?> <!DOCTYPE html> -<html lang="<?php echo get_current_language(); ?>"> +<html lang="<?php echo $lang; ?>"> <head> <?php echo elgg_view('page/elements/head', $vars); ?> </head> @@ -41,14 +46,14 @@ $footer = elgg_view('page/elements/footer', $vars); <div class="elgg-page-messages"> <?php echo $messages; ?> </div> - - <?php if (elgg_is_logged_in()): ?> + + <?php if (elgg_is_logged_in()){ ?> <header class="elgg-page-topbar"> <div class="elgg-inner"> <?php echo $topbar; ?> </div> </header> - <?php endif; ?> + <?php } ?> <header class="elgg-page-header"> <div class="elgg-inner"> |