You are here

function constant_contact_add_list_form in Constant Contact 6.2

Same name and namespace in other branches
  1. 6.3 admin.lists.inc \constant_contact_add_list_form()
  2. 7.3 admin.lists.inc \constant_contact_add_list_form()

Add a new contact list page in the admin function

1 string reference to 'constant_contact_add_list_form'
constant_contact_add_list in ./contactlists.admin.inc
Add a new contact list page in the admin function

File

./contactlists.admin.inc, line 201

Code

function constant_contact_add_list_form() {
  $form = array();

  // add account settings
  $form['list'] = array(
    '#type' => 'textfield',
    '#title' => t('List Name'),
    '#description' => t('Enter a name for the new contact list'),
    '#default_value' => '',
    '#size' => 60,
  );
  $form['#redirect'] = 'admin/constant_contact/lists';
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save'),
  );
  return $form;
}