You are here

function newsletter_form_send_draft in Newsletter 7

Menu callback; send a custom newsletter draft.

1 string reference to 'newsletter_form_send_draft'
newsletter_menu in ./newsletter.module
Implements hook_menu().

File

includes/newsletter.admin.inc, line 408
Admin page callbacks for the newsletter module.

Code

function newsletter_form_send_draft($form, &$form_state, $newsletter) {
  $form['nnid'] = array(
    '#type' => 'hidden',
    '#value' => $newsletter->nnid,
  );
  $output = t('Send this newsletter draft now?');
  return confirm_form($form, t('Really send?'), 'admin/config/media/newsletter/lists', filter_xss($output));
}