You are here

function certificate_admin_settings_form in Certificate 6.2

Same name and namespace in other branches
  1. 8.3 certificate.admin.inc \certificate_admin_settings_form()
  2. 6 certificate.admin.inc \certificate_admin_settings_form()
  3. 7.3 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
Implementation of hook_menu().

File

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

Code

function certificate_admin_settings_form() {
  $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);
}