You are here

function theme_date_form_select_description in Date 5

Date selector description

$form contains the description added to the date selector. Make any changes needed, render it, and return the result.

1 theme call to theme_date_form_select_description()
date_select_input in ./date.inc
Flexible Date/Time Drop-Down Selector

File

./date.inc, line 2195
Date/time API functions

Code

function theme_date_form_select_description($form) {
  $description = drupal_render($form);
  if ($description) {
    return '<br class="clear" /><div class="description"><div class="form-item">' . $description . '</div></div>';
  }
  return '';
}