function theme_high_contrast_switcher in High contrast 7
Same name and namespace in other branches
- 6 high_contrast.module \theme_high_contrast_switcher()
Theme function for high contrast switcher.
1 theme call to theme_high_contrast_switcher()
- high_contrast_block_view in ./
high_contrast.module - Implements hook_block_view().
File
- ./
high_contrast.module, line 319 - High Contrast main module file.
Code
function theme_high_contrast_switcher($vars) {
$code = theme('high_contrast_switcher_links');
/*
* //TO-DO: More widgets
* $widget = _high_contrast_variable_get('high_contrast_widget');
*
* if ($widget == 'select'){
* $code = theme('high_contrast_switcher_select');
* }
* else if ($widget == 'radio'){
* $code = theme('high_contrast_switcher_radio');
* }
* else{
* $code = theme('high_contrast_switcher_links');
* }
*/
return $code;
}