theme_webform_admin_settings($form)
contributions/webform/webform.module, line 1086
<?php
function theme_webform_admin_settings($form) {
// Format the components into a table.
foreach (element_children($form['components']) as $key) {
$row = array();
$row[] = $form['components'][$key]['#title'];
$row[] = $form['components'][$key]['#description'];
unset($form['components'][$key]['#title']);
unset($form['components'][$key]['#description']);
$row[] = array('data' => drupal_render($form['components'][$key]), 'align' => 'center');
$rows[] = $row;
}
$header = array(t('Name'), t('Description'), t('Enabled'));
// Create the table inside the form.
$form['components']['table'] = array(
'#value' => theme('table', $header, $rows)
);
$output = drupal_render($form);
return $output;
}
?>