diff options
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r-- | themes/seven/template.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php index 416de552a..6f40681ff 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -4,10 +4,12 @@ /** * 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]-->'; +} function seven_preprocess_page(&$vars) { $vars['primary_local_tasks'] = menu_primary_local_tasks(); $vars['secondary_local_tasks'] = menu_secondary_local_tasks(); - $vars['ie_styles'] = '<!--[if lt IE 7]><style type="text/css" media="screen">@import ' . path_to_theme() . '/ie6.css";</style><![endif]-->'; } /** |