filename) . '/'; if (isset($themes[$key]->info['stylesheets-conditional'])) { foreach (array_keys($themes[$key]->info['stylesheets-conditional']) as $condition) { foreach (array_keys($themes[$key]->info['stylesheets-conditional'][$condition]) as $media) { foreach ($themes[$key]->info['stylesheets-conditional'][$condition][$media] as $stylesheet) { // Add each conditional stylesheet. drupal_add_css( $theme_path . $stylesheet, array( 'group' => CSS_THEME, 'browsers' => array( 'IE' => $condition, '!IE' => FALSE, ), 'every_page' => TRUE, ) ); } } } } } } /** * Implements MODULE_preprocess_maintenance_page(). */ function conditional_styles_preprocess_maintenance_page(&$vars, $hook) { conditional_styles_preprocess_html($vars, $hook); }