function theme_date_timezone in Date 7
Same name and namespace in other branches
- 8 date_api/theme/theme.inc \theme_date_timezone()
- 5.2 date_api_elements.inc \theme_date_timezone()
- 6.2 theme/theme.inc \theme_date_timezone()
- 6 date_api_elements.inc \theme_date_timezone()
- 7.3 date_api/theme/theme.inc \theme_date_timezone()
- 7.2 date_api/theme/theme.inc \theme_date_timezone()
Format a date timezone 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.
File
- date_api/
theme/ theme.inc, line 16 - Theme files for Date API.
Code
function theme_date_timezone($vars) {
$element = $vars['element'];
return '<div class="date-clear">' . theme('form_element', $element, $element['#children']) . '</div>';
}