You are here

function theme_number in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/number/number.module \theme_number()
  2. 6 modules/number/number.module \theme_number()

FAPI theme for an individual number element.

The textfield is already rendered by the textfield theme 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/number/number.module, line 587
Defines numeric field types.

Code

function theme_number($element) {
  return $element['#children'];
}