function theme_nodereference_select in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 modules/nodereference/nodereference.module \theme_nodereference_select()
- 6 modules/nodereference/nodereference.module \theme_nodereference_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/
nodereference/ nodereference.module, line 1055 - Defines a field type for referencing one node from another.
Code
function theme_nodereference_select($element) {
return $element['#children'];
}