diff sites/all/themes/rrr/preprocess/html.preprocess.inc @ 0:ff03f76ab3fe

initial version
author danieleb <danielebarchiesi@me.com>
date Wed, 21 Aug 2013 18:51:11 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/rrr/preprocess/html.preprocess.inc	Wed Aug 21 18:51:11 2013 +0100
@@ -0,0 +1,17 @@
+<?php
+
+/**
+ * Implements hook_preprocess_html().
+ */
+function {{ THEME }}_preprocess_html(&$variables) {
+  // Load the fallback.css for Internet Explorer 8 and lower.
+  $path = drupal_get_path('theme', '{{ THEME }}');
+  drupal_add_css("$path/css/{{ THEME }}.fallback.css", array(
+    'browsers' => array(
+      '!IE' => FALSE,
+      'IE' => 'lte IE 8',
+    ),
+    'group' => CSS_THEME,
+    'weight' => 1000,
+  ));
+}