function theme_biblio_filters in Bibliography Module 7.2
Same name and namespace in other branches
- 5 biblio.module \theme_biblio_filters()
- 6.2 includes/biblio_theme.inc \theme_biblio_filters()
- 6 biblio_theme.inc \theme_biblio_filters()
- 7 includes/biblio_theme.inc \theme_biblio_filters()
Parameters
$form:
Return value
unknown_type
File
- includes/
biblio.theme.inc, line 786
Code
function theme_biblio_filters($variables) {
$form = $variables['form'];
$output = '';
if (isset($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">' . (isset($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;
}