| Versionen | |
|---|---|
| drupal6 – drupal7 | theme_date($element) |
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>');
}
?>
Kommentare
Kommentar hinzufügen