You are here

function mobile_tools_preprocess_page in Mobile Tools 6.3

Same name and namespace in other branches
  1. 6.2 mobile_tools.module \mobile_tools_preprocess_page()

File

./mobile_tools.module, line 722
Mobile Tools provides a range of functionality assisting in creating a mobile Drupal site . this functionality contains:

Code

function mobile_tools_preprocess_page(&$vars) {
  $site = mobile_tools_site_type();
  if (variable_get('mobile_tools_add_header', 1) && $site == 'mobile') {
    $vars['head'] = $vars['head'] . theme('mobile_tools_header');
  }
}