function theme_biblio_filters in Bibliography Module 5
Same name and namespace in other branches
- 6.2 includes/biblio_theme.inc \theme_biblio_filters()
- 6 biblio_theme.inc \theme_biblio_filters()
- 7 includes/biblio_theme.inc \theme_biblio_filters()
- 7.2 includes/biblio.theme.inc \theme_biblio_filters()
1 theme call to theme_biblio_filters()
File
- ./
biblio.module, line 1484
Code
function theme_biblio_filters(&$form) {
if (sizeof($form['current'])) {
$output .= '<ul>';
foreach (element_children($form['current']) as $key) {
$output .= '<li>' . drupal_render($form['current'][$key]) . '</li>';
}
$output .= '</ul>';
}
$output .= '<dl class="multiselect">' . (sizeof($form['current']) ? '<dt><em>' . t('and') . '</em> ' . t('where') . '</dt>' : '') . '<dd class="a">';
foreach (element_children($form['filter']) as $key) {
$output .= drupal_render($form['filter'][$key]);
}
$output .= '</dd>';
$output .= '<dt>' . t('is') . '</dt>' . '<dd class="b">';
foreach (element_children($form['status']) as $key) {
$output .= drupal_render($form['status'][$key]);
}
$output .= '</dd>';
$output .= '</dl>';
$output .= '<div class="container-inline" id="node-buttons">' . drupal_render($form['buttons']) . '</div>';
$output .= '<br class="clear" />';
return $output;
}