function garland_preprocess_html

Override or insert variables into the html template.

1 call to garland_preprocess_html()
garland_preprocess_maintenance_page in themes/garland/template.php
Override or insert variables into the maintenance page template.

File

themes/garland/template.php, line 34

Code

function garland_preprocess_html(&$variables) {
    // Toggle fixed or fluid width.
    if (theme_get_setting('garland_width') == 'fluid') {
        $variables['classes_array'][] = 'fluid-width';
    }
    // Add conditional CSS for IE6.
    drupal_add_css(path_to_theme() . '/fix-ie.css', array(
        'group' => CSS_THEME,
        'browsers' => array(
            'IE' => 'lt IE 7',
            '!IE' => FALSE,
        ),
        'preprocess' => FALSE,
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.