| 1 |
<?php |
<?php |
| 2 |
// $Id: themer.module,v 1.16 2008/07/07 23:56:00 tjholowaychuk Exp $ |
// $Id: themer.module,v 1.17 2009/01/07 13:09:20 bevan Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 89 |
/** |
/** |
| 90 |
* Add's IE specific dynamic CSS. |
* Add's IE specific dynamic CSS. |
| 91 |
*/ |
*/ |
| 92 |
function themer_preprocess_page($vars) { |
function themer_preprocess_page(&$vars) { |
| 93 |
$theme_settings = $GLOBALS['theme_info']->info; |
$theme_settings = $GLOBALS['theme_info']->info; |
| 94 |
if ($theme_settings['sticky-footer'] and is_array($theme_settings['selectors'])) { |
if ($theme_settings['sticky-footer'] and is_array($theme_settings['selectors'])) { |
| 95 |
drupal_add_js(array('selectors' => $theme_settings['selectors']), 'setting'); |
drupal_add_js(array('selectors' => $theme_settings['selectors']), 'setting'); |
| 106 |
} |
} |
| 107 |
} |
} |
| 108 |
|
|
| 109 |
|
|
| 110 |
/* ----------------------------------------------------------------- |
/* ----------------------------------------------------------------- |
| 111 |
|
|
| 112 |
Page Callbacks |
Page Callbacks |