theme_filter_admin_order
Definition
theme_filter_admin_order($form)
drupal/modules/filter/filter.module, line 560
Description
Theme filter order configuration form.
Code
<?php
function theme_filter_admin_order($form) {
$header = array(t('Name'), t('Weight'));
$rows = array();
foreach (element_children($form['names']) as $id) {
// Don't take form control structures
if (is_array($form['names'][$id])) {
$rows[] = array(drupal_render($form['names'][$id]), drupal_render($form['weights'][$id]));
}
}
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}
?> 