function theme_messaging_admin_method_settings in Messaging 6.3
Same name and namespace in other branches
- 6.2 messaging.admin.inc \theme_messaging_admin_method_settings()
Theme method settings
1 theme call to theme_messaging_admin_method_settings()
- messaging_admin_method_settings in ./
messaging.admin.inc - Default sending methods settings
File
- ./
messaging.admin.inc, line 335 - Messaging Framework - Admin UI
Code
function theme_messaging_admin_method_settings(&$form) {
$header = array(
t('Method'),
t('Name for display'),
t('Message body filter'),
);
$rows = array();
foreach (element_children($form) as $key) {
$rows[] = array(
drupal_render($form[$key]['title']),
drupal_render($form[$key]['name']),
drupal_render($form[$key]),
);
}
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}