You are here

function foo_captcha_settings_form in CAPTCHA Pack 7

Same name and namespace in other branches
  1. 5 foo_captcha/foo_captcha.module \foo_captcha_settings_form()
  2. 6 foo_captcha/foo_captcha.module \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
Implements hook_menu().

File

foo_captcha/foo_captcha.admin.inc, line 11
Functionality and helper functions for FOO CAPTCHA administration.

Code

function foo_captcha_settings_form() {
  $form = array();
  $form['foo_captcha_ignore_spaces'] = array(
    '#type' => 'checkbox',
    '#title' => t('Ignore spaces in the response'),
    '#default_value' => variable_get('foo_captcha_ignore_spaces', FALSE),
  );
  return system_settings_form($form);
}