function theme_optimizedb_list_tables in OptimizeDB 6
Theming table with a list of tables - optimizedb_list_tables().
File
- ./
optimizedb.module, line 312 - Database Optimization.
Code
function theme_optimizedb_list_tables($form) {
$rows = array();
foreach (element_children($form['tables']) as $key) {
$rows[] = array(
drupal_render($form['tables'][$key]),
drupal_render($form['name'][$key]),
drupal_render($form['size'][$key]),
);
}
$output = drupal_render($form);
$output .= theme('table', $form['header']['#value'], $rows);
return $output;
}