You are here

function theme_high_contrast_switcher in High contrast 6

Same name and namespace in other branches
  1. 7 high_contrast.module \theme_high_contrast_switcher()
1 theme call to theme_high_contrast_switcher()
high_contrast_block in ./high_contrast.module
Implementation of hook_block()

File

./high_contrast.module, line 188

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;
}