| Versions | |
|---|---|
| 4.7 – 6 | theme_date( |
| 7 | theme_date($variables) |
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.
includes/
<?php
function theme_date($element) {
return theme('form_element', $element, '<div class="container-inline">' . $element['#children'] . '</div>');
}
?>