summaryrefslogtreecommitdiff
path: root/themes/seven/template.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-06 18:04:17 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-06 18:04:17 +0000
commit26970f14ff41d2c29be56436be60f5f60e6f54eb (patch)
treebb80926750986819c91fd1bf25f06702d85a3a60 /themes/seven/template.php
parentc87321156c0163737cbb969f6c50c1d3105bbcfe (diff)
downloadbrdo-26970f14ff41d2c29be56436be60f5f60e6f54eb.tar.gz
brdo-26970f14ff41d2c29be56436be60f5f60e6f54eb.tar.bz2
#605486 by p.brouwers: Fixed bug where IE6.css is not added to the page.
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r--themes/seven/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php
index b3a347bae..f9a61629a 100644
--- a/themes/seven/template.php
+++ b/themes/seven/template.php
@@ -5,7 +5,7 @@
* Override or insert variables into the page template.
*/
function seven_process_html(&$vars) {
- $vars['ie_styles'] = '<!--[if lt IE 7]><style type="text/css" media="screen">@import ' . path_to_theme() . '/ie6.css";</style><![endif]-->';
+ $vars['styles'] .= "\n<!--[if lt IE 7]>\n" . '<link type="text/css" rel="stylesheet" media="all" href="' . file_create_url(path_to_theme() . '/ie6.css') . '" />' . "\n" . "<![endif]-->\n";
}
function seven_preprocess_page(&$vars) {
$vars['primary_local_tasks'] = menu_primary_local_tasks();