Exemplo n.º 1
0
/**
 * Processes variables for the "html" theme hook.
 *
 * See template for list of available variables.
 *
 * @see html.tpl.php
 *
 * @ingroup theme_process
 */
function d4s_bootstrap_process_html(&$variables)
{
    $variables['html_attributes'] = drupal_attributes($variables['html_attributes_array']);
    $variables['body_attributes'] = drupal_attributes($variables['body_attributes_array']);
    $variables['page_top'] = Accessibility_for_taiwan($variables['page_top']);
    $variables['page_bottom'] = Accessibility_for_taiwan($variables['page_bottom']);
    $variables['page'] = Accessibility_for_taiwan($variables['page']);
}
Exemplo n.º 2
0
/**
 * Override or insert variables into the html template.
 */
function Accessibility_process_html(&$vars)
{
    // Hook into color.module
    if (module_exists('color')) {
        _color_html_alter($vars);
    }
    $vars['page_top'] = Accessibility_for_taiwan($vars['page_top']);
    $vars['page_bottom'] = Accessibility_for_taiwan($vars['page_bottom']);
    $vars['page'] = Accessibility_for_taiwan($vars['page']);
}