function theme_date_text in Date 6
Same name and namespace in other branches
- 5.2 date_api_elements.inc \theme_date_text()
- 6.2 theme/theme.inc \theme_date_text()
- 7.3 date_api/theme/theme.inc \theme_date_text()
- 7 date_api/theme/theme.inc \theme_date_text()
- 7.2 date_api/theme/theme.inc \theme_date_text()
Format a date text element.
Parameters
$element: An associative array containing the properties of the element. Properties used: title, value, options, description, required and attributes.
Return value
A themed HTML string representing the date selection boxes.
File
- ./
date_api_elements.inc, line 625 - Date API elements themes and validation. This file is only included during the edit process to reduce memory usage.
Code
function theme_date_text($element) {
return theme('form_element', $element, $element['#children']);
}