function advuser_multiple_email_confirm in Advanced User 5
Same name and namespace in other branches
- 5.2 advuser.module \advuser_multiple_email_confirm()
- 6.3 forms/advuser_multiple_email_confirm.inc \advuser_multiple_email_confirm()
- 6.2 advuser.module \advuser_multiple_email_confirm()
- 7.3 forms/advuser_multiple_email_confirm.inc \advuser_multiple_email_confirm()
1 string reference to 'advuser_multiple_email_confirm'
File
- ./
advuser.module, line 333
Code
function advuser_multiple_email_confirm($all, $form) {
$form['mailsubject'] = array(
'#type' => 'textfield',
'#title' => t('Subject'),
'#required' => TRUE,
);
$form['mailbody'] = array(
'#type' => 'textarea',
'#title' => t('Mail body'),
'#required' => TRUE,
);
return confirm_form($form, t('Are you sure you want to mail these users?'), 'admin/user/advuser', t('This action cannot be undone.'), t('Mail all'), t('Cancel'));
}