theme_date

  1. drupal
    1. 4.7
    2. 5
    3. 6 form.inc
    4. 7 form.inc
Versions
4.7 – 6 theme_date($element)
7 theme_date($variables)

Format a date selection element.

Parameters

$element An associative array containing the properties of the element. Properties used: title, value, options, description, required and attributes.

Return value

A themed HTML string representing the date selection boxes.

Related topics

Code

includes/form.inc, line 1169

<?php
function theme_date($element) {
  return theme('form_element', $element, '<div class="container-inline">' . $element['#children'] . '</div>');
}
?>