You are here

function phptemplate_get_ie_styles in Drupal 6

Generates IE CSS links for LTR and RTL languages.

2 calls to phptemplate_get_ie_styles()
maintenance-page.tpl.php in themes/garland/maintenance-page.tpl.php
maintenance-page.tpl.php
page.tpl.php in themes/garland/page.tpl.php

File

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;
}