You are here

function commerce_kickstart_theme_preprocess_html in Commerce Kickstart 7.2

Preprocess variables for html.tpl.php

See also

system_elements()

html.tpl.php

File

themes/commerce_kickstart_theme/template.php, line 9

Code

function commerce_kickstart_theme_preprocess_html(&$variables) {

  // Add conditional stylesheets for IE
  drupal_add_css(path_to_theme() . '/css/commerce-kickstart-theme-ie-lte-8.css', array(
    'group' => CSS_THEME,
    'weight' => 23,
    'browsers' => array(
      'IE' => 'lte IE 8',
      '!IE' => FALSE,
    ),
    'preprocess' => FALSE,
  ));
  drupal_add_css(path_to_theme() . '/css/commerce-kickstart-theme-ie-lte-7.css', array(
    'group' => CSS_THEME,
    'weight' => 24,
    'browsers' => array(
      'IE' => 'lte IE 7',
      '!IE' => FALSE,
    ),
    'preprocess' => FALSE,
  ));

  // Add external libraries.
  drupal_add_library('commerce_kickstart_theme', 'selectnav');
}