function theme_date in Drupal 5
Same name and namespace in other branches
- 4 includes/form.inc \theme_date()
- 6 includes/form.inc \theme_date()
- 7 includes/form.inc \theme_date()
Format a date selection 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.
Related topics
File
- includes/
form.inc, line 1168
Code
function theme_date($element) {
return theme('form_element', $element, '<div class="container-inline">' . $element['#children'] . '</div>');
}