- drupal
- 4.7 form.inc
- 5 form.inc
- 6
- 7
Returns HTML for a date selection form element.
Parameters
$variables
An associative array containing:
- element: An associative array containing the properties of the element.
Properties used: #title, #value, #options, #description, #required,
#attributes.
Related topics
- Default theme implementations
- Functions and templates for the user interface to be implemented by themes.
- Form generation
- Functions to enable the processing and display of HTML forms.
Code
drupal/includes/form.inc, line 2773
<?php
function theme_date($variables) {
$element = $variables['element'];
return '<div class="container-inline">' . drupal_render_children($element) . '</div>';
}
?>