You are here

function theme_date_form_combination in Date 5

Theme from/to date combination on form.

File

./date.module, line 691
Defines a date/time field type.

Code

function theme_date_form_combination($form) {
  $fieldset = array(
    '#title' => $form['#title'] . ' ' . ($form['#delta'] > 0 ? intval($form['#delta'] + 1) : ''),
    '#value' => drupal_render($form),
  );
  $output = theme('fieldset', $fieldset);
  return $output;
}