function theme_select_or_other in Select (or other) 7.3
Same name and namespace in other branches
- 6.2 select_or_other.module \theme_select_or_other()
- 6 select_or_other.module \theme_select_or_other()
- 7.2 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 27 - 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;
}