function theme_deploy_list_form in Deploy - Content Staging 6
Implementation of hook_theme().
File
- ./
deploy.plans.admin.inc, line 241 - Page handlers for deploy plan admin.
Code
function theme_deploy_list_form($form) {
$header = array(
theme('table_select_header_cell'),
t('Module'),
t('Description'),
t('Added by'),
);
$rows = array();
foreach (element_children($form) as $i) {
$item =& $form[$i];
if (is_array($item['module'])) {
$rows[] = array(
drupal_render($form['plan_items'][$item['iid']['#value']]),
drupal_render($item['module']),
drupal_render($item['description']),
drupal_render($item['added_by']),
);
}
}
$output = theme('table', $header, $rows, array(
'id' => 'plans',
));
$output .= drupal_render($form);
return $output;
}