function theme_date_textfield_element in Date 5.2
Same name and namespace in other branches
- 6.2 theme/theme.inc \theme_date_textfield_element()
- 6 date_api_elements.inc \theme_date_textfield_element()
- 7.3 date_api/theme/theme.inc \theme_date_textfield_element()
- 7 date_api/theme/theme.inc \theme_date_textfield_element()
- 7.2 date_api/theme/theme.inc \theme_date_textfield_element()
File
- ./
date_api_elements.inc, line 727 - Date API elements themes and validation. This file is only included during the edit process to reduce memory usage.
Code
function theme_date_textfield_element($element) {
$part = array_pop($element['#parents']);
return '<div class="date-part date-' . $part . '">' . theme('textfield', $element, $element['#children']) . '</div>';
}