function queue_mail_settings_form in Queue Mail 6
Same name and namespace in other branches
- 7 queue_mail.admin.inc \queue_mail_settings_form()
1 string reference to 'queue_mail_settings_form'
File
- ./
queue_mail.module, line 32
Code
function queue_mail_settings_form() {
$form['queue_mail_keys'] = array(
'#type' => 'textarea',
'#title' => t('Mailkeys'),
'#description' => t('Enter each $mailkey separated by commas. To delete mailkeys, delete it from the textbox and submit form.') . '<br/>' . t('To find mail keys, use the second parameter in drupal_mail, e.g. user_mail, register_pending_approval_admin'),
'#default_value' => variable_get('queue_mail_keys', ''),
);
$form['queue_mail_priority'] = array(
'#type' => 'select',
'#default_value' => variable_get('queue_mail_priority', 'immediate'),
'#description' => t('All mailkeys entered above will be set to immediate. That is, the mail will be sent immediately.'),
'#title' => t('Priority'),
'#options' => array(
'immediate',
),
'#disabled' => TRUE,
);
return system_settings_form($form);
}