function theme_quant_time_form in Quant 6
Same name and namespace in other branches
- 7 quant.theme.inc \theme_quant_time_form()
Theme wrapper for quant_time_form()
File
- includes/
theme.inc, line 30 - Theme wrappers
Code
function theme_quant_time_form($form) {
$output = '';
$output .= '<fieldset>';
$output .= '<div class="description">';
$output .= drupal_render($form['message']);
$output .= '</div>';
$output .= '<div class="quant-option-row">';
$output .= drupal_render($form['option']['period']);
$output .= drupal_render($form['period']);
$output .= '</div>';
$output .= '<div class="quant-option-row">';
$output .= drupal_render($form['option']['custom']);
$output .= '<span class="description">' . t('From:') . '</span>';
$output .= drupal_render($form['custom_from']);
$output .= '<span class="description">' . t('To:') . '</span>';
$output .= drupal_render($form['custom_to']);
$output .= '<span class="description"><i>' . t('Format !format', array(
'!format' => 'MM/DD/YYYY',
)) . '</i></span>';
$output .= '</div>';
$output .= drupal_render($form);
$output .= '</fieldset>';
return $output;
}