aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/head.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 01:40:15 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 01:40:15 +0000
commit52aaa3ded5302ac312e259a8e101363cdc3b548a (patch)
treec2b69d55f4fc5e779f9ff96ec906e2b39a122e97 /views/default/page/elements/head.php
parent79bc76893ba8721582485b90f76d6185105b6389 (diff)
downloadelgg-52aaa3ded5302ac312e259a8e101363cdc3b548a.tar.gz
elgg-52aaa3ded5302ac312e259a8e101363cdc3b548a.tar.bz2
pulled <head> out into page shell also
git-svn-id: http://code.elgg.org/elgg/trunk@8134 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements/head.php')
-rw-r--r--views/default/page/elements/head.php14
1 files changed, 4 insertions, 10 deletions
diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php
index 0cd3284c8..5772d0d24 100644
--- a/views/default/page/elements/head.php
+++ b/views/default/page/elements/head.php
@@ -1,10 +1,8 @@
<?php
/**
- * Start html output.
- * The standard HTML header that displays across the site
+ * The standard HTML head
*
* @uses $vars['title'] The page title
- * @uses $vars['body'] The main content of the page
*/
// Set title
@@ -38,8 +36,6 @@ $css = elgg_get_css();
$version = get_version();
$release = get_version(true);
?>
-<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; ?>" />
@@ -56,13 +52,13 @@ foreach ($css as $link) {
$ie_url = elgg_view_get_simplecache_url('css', 'ie');
$ie6_url = elgg_view_get_simplecache_url('css', 'ie6');
?>
- <!--[if IE 6]>
+ <!--[if gt IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo $ie_url; ?>" />
<![endif]-->
-
- <!--[if gt IE 6]>
+ <!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo $ie6_url; ?>" />
<![endif]-->
+
<?php
foreach ($js as $script) {
?>
@@ -79,5 +75,3 @@ if ($metatags) {
echo $metatags;
}
echo elgg_view('html_head/extend', $vars);
-?>
-</head>