You are here

foo_captcha.admin.inc in CAPTCHA Pack 7

Functionality and helper functions for FOO CAPTCHA administration.

File

foo_captcha/foo_captcha.admin.inc
View source
<?php

/**
 * @file
 * Functionality and helper functions for FOO CAPTCHA administration.
 */

/**
 * Function for the settings form
 */
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);
}

Functions

Namesort descending Description
foo_captcha_settings_form Function for the settings form