You are here

function theme_date_popup in Date 6

Same name and namespace in other branches
  1. 5.2 date_popup/date_popup.module \theme_date_popup()
  2. 6.2 date_popup/date_popup.module \theme_date_popup()
  3. 7.3 date_popup/date_popup.module \theme_date_popup()
  4. 7 date_popup/date_popup.module \theme_date_popup()
  5. 7.2 date_popup/date_popup.module \theme_date_popup()

Format a date popup element.

Use a class that will float date and time next to each other.

File

date_popup/date_popup.module, line 441
A module to enable jquery calendar and time entry popups. Requires the Date API.

Code

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