diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-15 17:10:39 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-15 17:10:39 +0000 |
commit | 6c0f8eba1c55b01e8dc3122f67cda34308ba94a2 (patch) | |
tree | e036f2d12a2575241f0a46f095bfa6d4bc5b66dd /themes/seven/template.php | |
parent | 60f14083f4ba53ecfbf741d34b6a76e9722c5287 (diff) | |
download | brdo-6c0f8eba1c55b01e8dc3122f67cda34308ba94a2.tar.gz brdo-6c0f8eba1c55b01e8dc3122f67cda34308ba94a2.tar.bz2 |
#469242 by tic2000, Pasqualle, pwolanin, Nick Lewis, moshe weitzman, Rob Loach,
and alexanderpas: page.tpl.php has now been split into html.tpl.php
(for <html>, <head>, and <body>) and page.tpl.php (for page content).
This now provides consistency for granular theming of renderable output in all
template files.
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]-->'; } /** |