You are here

function theme_date_timezone in Date 5.2

Same name and namespace in other branches
  1. 8 date_api/theme/theme.inc \theme_date_timezone()
  2. 6.2 theme/theme.inc \theme_date_timezone()
  3. 6 date_api_elements.inc \theme_date_timezone()
  4. 7.3 date_api/theme/theme.inc \theme_date_timezone()
  5. 7 date_api/theme/theme.inc \theme_date_timezone()
  6. 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_elements.inc, line 671
Date API elements themes and validation. This file is only included during the edit process to reduce memory usage.

Code

function theme_date_timezone($element) {
  return '<div class="date-clear">' . theme('form_element', $element, $element['#children']) . '</div>';
}