phptemplate_get_ie_styles
themes/garland/template.php, строка 92
- Версии
- 6
phptemplate_get_ie_styles()
Generates IE CSS links for LTR and RTL languages.
Код
<?php
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;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии