function multiple_email_confirm_page_resend in Multiple E-mail Addresses 2.x
Same name and namespace in other branches
- 6 multiple_email_confirm_page.inc \multiple_email_confirm_page_resend()
- 7 multiple_email_confirm_page.inc \multiple_email_confirm_page_resend()
Confirmation form for resending a confirmation code.
Parameters
array $form_state: FormAPI state array.
object $account: Drupal user account object.
object $email: Multiple E-Mails email object.
1 string reference to 'multiple_email_confirm_page_resend'
- multiple_email_menu in ./
multiple_email.module - Implements hook_menu().
File
- ./
multiple_email_confirm_page.inc, line 148 - Functions for displaying and processing the confirmation page
Code
function multiple_email_confirm_page_resend($form, &$form_state, $account, $email) {
$msg = t('Please make sure that %email is correct. If not, please <a href="!delete">delete</a> it and add the correct address.', array(
'%email' => $email->email,
'!delete' => url('user/' . $account->uid . '/edit/email-addresses/delete/' . $email->eid),
));
$form['#email'] = $email;
$form['#account'] = $account;
return confirm_form($form, t('Resend confirmation to %email.', array(
'%email' => $email->email,
)), 'user/' . $account->uid . '/edit/email-addresses/confirm/' . $email->eid, $msg, t('Resend'));
}