You are here

function makemeeting_admin_form in Make Meeting Scheduler 7

Same name and namespace in other branches
  1. 6 makemeeting.admin.inc \makemeeting_admin_form()

makemeeting_admin_form()

1 string reference to 'makemeeting_admin_form'
makemeeting_menu in ./makemeeting.module
hook_menu implementation

File

./makemeeting.admin.inc, line 8

Code

function makemeeting_admin_form() {
  $form['send_email'] = array(
    '#type' => 'fieldset',
    '#title' => t('E-mail sending options'),
    '#tree' => TRUE,
  );
  $form['send_email']['enable'] = array(
    '#type' => 'radios',
    '#title' => t('Enable e-mail sending function'),
    '#default_value' => variable_get('makemeeting_send_email_enabled', '1'),
    '#options' => array(
      '1' => t('Enabled'),
      '0' => t('Disabled'),
    ),
    '#description' => t('If you choose yes, then the users can send e-mails to their friends with the link of the poll.'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save'),
  );
  return $form;
}