function theme_hosting_client_form in Hosting 6.2
Same name and namespace in other branches
- 5 client/hosting_client.module \theme_hosting_client_form()
- 7.4 client/hosting_client.module \theme_hosting_client_form()
- 7.3 client/hosting_client.module \theme_hosting_client_form()
File
- client/
hosting_client.module, line 222
Code
function theme_hosting_client_form($form) {
foreach (element_children($form['name']) as $user) {
$row = array();
$row['data'][] = drupal_render($form['name'][$user]);
if (user_access('edit client users')) {
$row['data'][] = drupal_render($form['users'][$user]);
}
$rows[] = $row;
}
$output = theme('table', $form['header']['#value'], $rows);
$output .= drupal_render($form);
return $output;
}