You are here

function certificate_admin_settings_form in Certificate 7.3

Same name and namespace in other branches
  1. 8.3 certificate.admin.inc \certificate_admin_settings_form()
  2. 6.2 certificate.admin.inc \certificate_admin_settings_form()
  3. 6 certificate.admin.inc \certificate_admin_settings_form()
  4. 7.2 certificate.admin.inc \certificate_admin_settings_form()
  5. 3.x certificate.admin.inc \certificate_admin_settings_form()

General settings form.

Currently only has the option to enable snapshots.

1 string reference to 'certificate_admin_settings_form'
certificate_menu in ./certificate.module
Implements hook_menu().

File

./certificate.admin.inc, line 373
Administrative pages for Certificate module.

Code

function certificate_admin_settings_form($form, &$form_state) {
  $form = array();
  $form['certificate_snapshots'] = array(
    '#title' => 'Use certificate snapshots?',
    '#description' => 'Certificates will only be generated once per node/user.',
    '#type' => 'checkbox',
    '#default_value' => variable_get('certificate_snapshots', 0),
  );
  return system_settings_form($form);
}