function phptemplate_get_ie_styles
6.x template.php | phptemplate_get_ie_styles() |
Generates IE CSS links for LTR and RTL languages.
2 calls to phptemplate_get_ie_styles()
- maintenance-page.tpl.php in drupal-6.x/
themes/ garland/ maintenance-page.tpl.php - maintenance-page.tpl.php
- page.tpl.php in drupal-6.x/
themes/ garland/ page.tpl.php
File
- drupal-6.x/
themes/ garland/ template.php, line 95
Code
function phptemplate_get_ie_styles() {
global $language;
$iecss = '<link type="text/css" rel="stylesheet" media="all" href="' . base_path() . path_to_theme() . '/fix-ie.css" />';
if ($language->direction == LANGUAGE_RTL) {
$iecss .= '<style type="text/css" media="all">@import "' . base_path() . path_to_theme() . '/fix-ie-rtl.css";</style>';
}
return $iecss;
}