aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/shells/default.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-11 18:32:44 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-11 18:32:44 +0000
commit1596e227843722315f2a364af51015b97e7bc615 (patch)
tree0414d3c4fe2a0a4238d7eac85565f2acb3b4265a /views/default/page/shells/default.php
parentd8f9c48d8684533dfe21ad5baa0748b264616b42 (diff)
downloadelgg-1596e227843722315f2a364af51015b97e7bc615.tar.gz
elgg-1596e227843722315f2a364af51015b97e7bc615.tar.bz2
Fixes #1303: Pulled html_begin/end into page shells. extracted <head> element into page/elements/head
git-svn-id: http://code.elgg.org/elgg/trunk@8112 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/shells/default.php')
-rw-r--r--views/default/page/shells/default.php27
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