You are here

function mailing_list_admin_settings in Mailing List 7

1 string reference to 'mailing_list_admin_settings'
mailing_list_menu in ./mailing_list.module
Implement hook_menu().

File

./mailing_list.admin.inc, line 416
Mailing list admin UI.

Code

function mailing_list_admin_settings($form, &$form_state) {
  drupal_set_title('Mailing list settings');
  $form['mailing_list_subscription_message'] = array(
    '#type' => 'textfield',
    '#title' => t('Subscription message'),
    '#description' => t('The message users see when they subscribe.  You can use %mail and %name as tokens.'),
    '#default_value' => variable_get('mailing_list_subscription_message', MAILING_LIST_MESSAGE_SUBSCRIPTION),
  );
  return system_settings_form($form, TRUE);
}