function messaging_admin_template_edit in Messaging 6
Same name and namespace in other branches
- 6.2 messaging.admin.inc \messaging_admin_template_edit()
- 6.3 messaging.admin.inc \messaging_admin_template_edit()
Message groups edit page
1 string reference to 'messaging_admin_template_edit'
- messaging_menu in ./
messaging.module - Implementation of hook_menu()
File
- ./
messaging.admin.inc, line 113 - Messaging Framework - Admin UI
Code
function messaging_admin_template_edit($group) {
$output = '';
$groups = module_invoke_all('messaging', 'message groups');
if (isset($groups[$group])) {
drupal_set_title(t('Message template for %name', array(
'%name' => $groups[$group]['name'],
)));
$output .= drupal_get_form('messaging_admin_message_form', $group, $groups[$group]);
}
return $output;
}