You are here

function foo_captcha_settings_form in CAPTCHA Pack 5

Same name and namespace in other branches
  1. 6 foo_captcha/foo_captcha.module \foo_captcha_settings_form()
  2. 7 foo_captcha/foo_captcha.admin.inc \foo_captcha_settings_form()

Function for the settings form

1 string reference to 'foo_captcha_settings_form'
foo_captcha_menu in foo_captcha/foo_captcha.module
Implementation of hook_menu().

File

foo_captcha/foo_captcha.module, line 34

Code

function foo_captcha_settings_form() {
  $form = array();
  $form['foo_captcha_case_insensitive'] = array(
    '#type' => 'checkbox',
    '#title' => t('Case insensitive validation'),
    '#default_value' => variable_get('foo_captcha_case_insensitive', TRUE),
  );
  return system_settings_form($form);
}