function theme_auditfiles_notindb_form in Audit Files 5
Same name and namespace in other branches
- 6.3 notindb.admin.inc \theme_auditfiles_notindb_form()
- 6.2 notindb.admin.inc \theme_auditfiles_notindb_form()
Theme auditfiles_notindb_form
File
- ./
auditfiles.module, line 195
Code
function theme_auditfiles_notindb_form($form) {
// Render count and action drop down
$output .= drupal_render($form['count']);
// Construct table of files
$header = array(
t('Delete?'),
t('File'),
);
if (isset($form['file']) && is_array($form['file'])) {
foreach (element_children($form['file']) as $key) {
$row = array();
$row[] = drupal_render($form['files'][$key]);
$row[] = drupal_render($form['file'][$key]);
$rows[] = $row;
}
// Render themed table
$output .= drupal_render($form['options']);
$output .= theme('table', $header, $rows);
}
// Return output
return $output;
}