function theme_views_filters in Views (for Drupal 7) 5
File
- ./
views.module, line 1401
Code
function theme_views_filters($form) {
$view = $form['view']['#value'];
foreach ($view->exposed_filter as $count => $expose) {
$row[] = drupal_render($form["op{$count}"]) . drupal_render($form["filter{$count}"]);
$label[] = $expose['label'];
}
$row[] = drupal_render($form['submit']);
$label[] = '';
// so the column count is the same.
// make the 'q' come first
return drupal_render($form['q']) . theme('table', $label, array(
$row,
)) . drupal_render($form);
}