function simplenews_request_hash in Simplenews 7.2
Request new hash form.
Parameters
$key: The mail key to be sent.
$context: Necessary context to send the mail. Must at least include the simplenews subscriber.
3 string references to 'simplenews_request_hash'
- simplenews_confirm_combined in includes/
simplenews.subscription.inc - Menu callback: confirm a combined confirmation request.
- simplenews_confirm_subscription in includes/
simplenews.subscription.inc - Menu callback: confirm the user's (un)subscription request
- simplenews_old_confirm_subscription in includes/
simplenews.subscription.inc - Backwards compatibility for old conformation links.
File
- includes/
simplenews.subscription.inc, line 769 - (Un)subscription and (un)subscription confirmation
Code
function simplenews_request_hash($form, &$form_state, $key, $context) {
$form_state['key'] = $key;
$form_state['context'] = $context;
return confirm_form($form, t('This link has expired.'), '', '', t('Request new confirmation mail'));
}