You are here

function messaging_template_admin_edit in Messaging 6.3

Message groups edit page

1 string reference to 'messaging_template_admin_edit'
messaging_template_menu in messaging_template/messaging_template.module
Implementation of hook_menu()

File

messaging_template/messaging_template.admin.inc, line 156
Messaging Framework - Admin UI

Code

function messaging_template_admin_edit($name) {
  drupal_add_css(drupal_get_path('module', 'messaging_template') . '/messaging_template.css', 'module');
  $output = '';
  if (messaging_template_info($name)) {
    drupal_set_title(t('Message template for %name', array(
      '%name' => messaging_template_info($name, 'title'),
    )));
    $output .= drupal_get_form('messaging_template_edit_form', $name);
  }
  return $output;
}