You are here

function simplenews_admin_newsletter_issues in Simplenews 7.2

Same name and namespace in other branches
  1. 7 includes/simplenews.admin.inc \simplenews_admin_newsletter_issues()

Menu callback: Admin form for sent and draft newsletters.

See also

simplenews_admin_newsletter_submit()

1 string reference to 'simplenews_admin_newsletter_issues'
simplenews_menu in ./simplenews.module
Implements hook_menu().

File

includes/simplenews.admin.inc, line 15
Newsletter admin, subscription admin, simplenews settings

Code

function simplenews_admin_newsletter_issues($form, &$form_state, $action = 'sent') {

  // @todo Fix the delete operation
  $form['filter'] = simplenews_issue_filter_form();
  $form['#submit'][] = 'simplenews_issue_filter_form_submit';
  $form['filter']['#theme'] = 'simplenews_filter_form';
  $form['admin'] = simplenews_admin_issues();
  return $form;
}