function mobile_codes_preprocess_page in Mobile Codes 6.2
Same name and namespace in other branches
- 7.2 mobile_codes.module \mobile_codes_preprocess_page()
Invokes hook_preprocess_page().
File
- ./
mobile_codes.module, line 325 - Mobile Codes core functions.
Code
function mobile_codes_preprocess_page(&$vars) {
global $theme;
if (file_exists($file = drupal_get_path('module', 'mobile_codes') . "/styles/{$theme}.css")) {
drupal_add_css($file);
}
}