theme_date($element)
files/drupal-6.7/includes/form.inc, line 1648
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 |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
| Form generation | Functions to enable the processing and display of HTML forms. |
| Form generation | Functions to enable the processing and display of HTML forms. |
<?php
function theme_date($element) {
return theme('form_element', $element, '<div class="container-inline">'. $element['#children'] .'</div>');
}
?>