theme_date

5 form.inc theme_date($element)
6 form.inc theme_date($element)
7 form.inc theme_date($variables)
8 form.inc 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

File

includes/form.inc, line 1673

Code

function theme_date($element) {
  return theme('form_element', $element, '<div class="container-inline">' . $element['#children'] . '</div>');
}
Login or register to post comments