function theme_userreference_select in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 6.3 modules/userreference/userreference.module \theme_userreference_select()
- 6.2 modules/userreference/userreference.module \theme_userreference_select()
FAPI theme for an individual elements.
The textfield or select is already rendered by the textfield or select themes and the HTML output lives in $element['#children']. Override this theme to make custom changes to the output.
$element['#field_name'] contains the field name $element['#delta] is the position of this element in the group
File
- modules/
userreference/ userreference.module, line 586 - Defines a field type for referencing a user from a node.
Code
function theme_userreference_select($element) {
return $element['#children'];
}