aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements
diff options
context:
space:
mode:
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>