You are here

function theme_phone_textfield in Phone 6

FAPI theme for an individual text elements.

The textfield or textarea is already rendered by the textfield or textarea 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

./phone.module, line 811
Defines phone number fields for CCK. Provide some verifications on the phone numbers

Code

function theme_phone_textfield($element) {
  drupal_add_css(drupal_get_path('module', 'phone') . '/theme/phone.css');
  return $element['#children'];
}