You are here

function advuser_multiple_email_confirm in Advanced User 5

Same name and namespace in other branches
  1. 5.2 advuser.module \advuser_multiple_email_confirm()
  2. 6.3 forms/advuser_multiple_email_confirm.inc \advuser_multiple_email_confirm()
  3. 6.2 advuser.module \advuser_multiple_email_confirm()
  4. 7.3 forms/advuser_multiple_email_confirm.inc \advuser_multiple_email_confirm()
1 string reference to 'advuser_multiple_email_confirm'
advuser_multiple_email_confirm_page in ./advuser.module

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'));
}