theme_date($element)
drupal/includes/form.inc, line 811
Format a date selection element.
$element An associative array containing the properties of the element. Properties used: title, value, options, description, required and attributes.
A themed HTML string representing the date selection boxes.
| Name | Description |
|---|---|
| Form generation | Functions to enable output of HTML forms and form elements. |
function theme_date($element) {
$output = '<div class="container-inline">' . $element['#children'] . '</div>';
return theme('form_element', $element['#title'], $output, $element['#description'], $element['#id'], $element['#required'], form_get_error($element));
}