diff options
Diffstat (limited to 'views/default/page/shells/default.php')
-rw-r--r-- | views/default/page/shells/default.php | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/views/default/page/shells/default.php b/views/default/page/shells/default.php index b239b6339..5ed1ca7ca 100644 --- a/views/default/page/shells/default.php +++ b/views/default/page/shells/default.php @@ -24,14 +24,19 @@ if (elgg_get_context() == 'admin') { // Set the content type header("Content-type: text/html; charset=UTF-8"); -echo elgg_view('page/elements/html_begin', $vars); - -echo '<div class="elgg-page elgg-classic">'; -echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); -echo elgg_view('page/elements/topbar', $vars); -echo elgg_view('page/elements/header', $vars); -echo elgg_view('page/elements/body', $vars); -echo elgg_view('page/elements/footer', $vars); -echo '</div>'; - -echo elgg_view('page/elements/html_end', $vars); +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<?php echo elgg_view('page/elements/head', $vars); ?> +<body> +<div class="elgg-page elgg-classic"> +<?php + echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); + echo elgg_view('page/elements/topbar', $vars); + echo elgg_view('page/elements/header', $vars); + echo elgg_view('page/elements/body', $vars); + echo elgg_view('page/elements/footer', $vars); +?> +</div> +</body> +</html>
\ No newline at end of file |