aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements
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/elements
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/elements')
-rw-r--r--views/default/page/elements/head.php (renamed from views/default/page/elements/html_begin.php)8
-rw-r--r--views/default/page/elements/html_end.php8
2 files changed, 1 insertions, 15 deletions
diff --git a/views/default/page/elements/html_begin.php b/views/default/page/elements/head.php
index 6a461d767..0cd3284c8 100644
--- a/views/default/page/elements/html_begin.php
+++ b/views/default/page/elements/head.php
@@ -35,15 +35,11 @@ END;
$js = elgg_get_js('head');
$css = elgg_get_css();
-// we won't trust server configuration but specify utf-8
-header('Content-type: text/html; charset=utf-8');
-
$version = get_version();
$release = get_version(true);
?>
-<!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">
<head>
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ElggRelease" content="<?php echo $release; ?>" />
<meta name="ElggVersion" content="<?php echo $version; ?>" />
@@ -85,5 +81,3 @@ if ($metatags) {
echo elgg_view('html_head/extend', $vars);
?>
</head>
-
-<body>
diff --git a/views/default/page/elements/html_end.php b/views/default/page/elements/html_end.php
deleted file mode 100644
index 26b0ee451..000000000
--- a/views/default/page/elements/html_end.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/**
- * Start html output.
- * The standard HTML header that displays across the site
- */
-?>
-</body>
-</html>