Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

captcha.module

Version

1.58.2.6 (checked in on 2008/04/07 at 22:25:45 by soxofaan)

Description

This module enables basic CAPTCHA functionality: administrators can add a CAPTCHA to desired forms that users without the 'skip CAPTCHA' permission (typically anonymous visitors) have to solve.

Constants

Namesort iconDescription
CAPTCHA_PERSISTENCE_SHOW_ALWAYS
CAPTCHA_PERSISTENCE_SKIP_ONCE_SUCCESSFUL
CAPTCHA_PERSISTENCE_SKIP_ONCE_SUCCESSFUL_PER_FORM
CAPTCHA_UNSOLVED_CHALLENGES_MAX

Functions

Namesort iconDescription
captcha_captchaDefault implementation of hook_captcha
captcha_form_alterImplementation of hook_form_alter().
captcha_helpImplementation of hook_help().
captcha_menuImplementation of hook_menu().
captcha_permImplementation of hook_perm().
captcha_pre_renderImplementation of form #pre_render.
captcha_pre_render_place_captchaPre_render function to place the CAPTCHA form element just above the last submit button
captcha_requirementsImplementation of hook_requirements().
captcha_themeImplementation of hook_theme().
captcha_validateImplementation of form #validate.
_captcha_get_descriptionGet the description which appears above the CAPTCHA in forms. If the locale module is enabled, an optional language code can be given
_captcha_persistence_skipHelper function for checking if the CAPTCHA for the given form_id should be skipped because of CAPTCHA persistence.