You are here

function theme_select_or_other in Select (or other) 7.2

Same name and namespace in other branches
  1. 6.2 select_or_other.module \theme_select_or_other()
  2. 6 select_or_other.module \theme_select_or_other()
  3. 7.3 select_or_other.module \theme_select_or_other()

Theme a Select (or other) element.

1 theme call to theme_select_or_other()
select_or_other_element_info in ./select_or_other.module
Implements hook_element_info().

File

./select_or_other.module, line 36
The Select (or other) module.

Code

function theme_select_or_other($variables) {
  $element = $variables['element'];
  $output = "<div class=\"select-or-other\">\n";
  $output .= drupal_render_children($element) . "\n";
  $output .= "</div>\n";
  return $output;
}