theme_date
- Versions
- 4.7 – 6
theme_date($element)- 7
theme_date($variables)
Theme 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.
Return value
A themed HTML string representing the date selection boxes.
Related topics
Code
includes/form.inc, line 1900
<?php
function theme_date($variables) {
$element = $variables['element'];
return '<div class="container-inline">' . drupal_render_children($element) . '</div>';
}
?>Login or register to post comments 