Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
@@ -46,12 +46,12 @@ define("RECAPTCHA_VERIFY_SERVER", "http://www.google.com");
|
||||
* @file recaptcha.php Plugin for reCAPTCHA
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: This is NULLED!
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $
|
||||
* @since Friday 19th May 2006 17:33
|
||||
* $LastChangedDate: 2011-03-09 18:12:09 -0500 (Wed, 09 Mar 2011) $
|
||||
* @version v3.2.3
|
||||
* $Revision: 8004 $
|
||||
* $LastChangedDate: 2012-02-10 20:05:52 -0500 (Fri, 10 Feb 2012) $
|
||||
* @version v3.3.4
|
||||
* $Revision: 10288 $
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -63,44 +63,42 @@ define("RECAPTCHA_VERIFY_SERVER", "http://www.google.com");
|
||||
*/
|
||||
class captchaPlugin
|
||||
{
|
||||
/**
|
||||
/**#@+
|
||||
* Registry Object Shortcuts
|
||||
*
|
||||
* @var $registry
|
||||
* @var $DB
|
||||
* @var $settings
|
||||
* @var $member
|
||||
* @var object
|
||||
*/
|
||||
public $registry;
|
||||
public $DB;
|
||||
public $settings;
|
||||
public $member;
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* String that stores the error code from reCAPTCHA (if any)
|
||||
*
|
||||
* @var $error
|
||||
* @var string
|
||||
*/
|
||||
public $error;
|
||||
|
||||
/**
|
||||
* String that stores reCAPTCHA public key
|
||||
*
|
||||
* @var $public_key
|
||||
* @var string
|
||||
*/
|
||||
public $public_key;
|
||||
|
||||
/**
|
||||
* String that stores reCAPTCHA private key
|
||||
*
|
||||
* @var $private_key
|
||||
* @var string
|
||||
*/
|
||||
public $private_key;
|
||||
|
||||
/**
|
||||
* Integer flag that stores whether to use SSL or not for the connection
|
||||
*
|
||||
* @var $private_key
|
||||
* @var bool
|
||||
*/
|
||||
public $useSSL;
|
||||
|
||||
@@ -128,7 +126,7 @@ class captchaPlugin
|
||||
* This is called from the browser, and the resulting reCAPTCHA HTML widget
|
||||
* is embedded within the HTML form it was called from.
|
||||
*
|
||||
* @return @e string HTML template for reCAPTCHA form
|
||||
* @return @e string
|
||||
*
|
||||
* <b>Example Usage:</b>
|
||||
* @code
|
||||
@@ -174,9 +172,9 @@ class captchaPlugin
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates the entered captcha code
|
||||
* Validates the entered captcha code, returning true on success and false on failure
|
||||
*
|
||||
* @return @e boolean TRUE if the code is valid otherwise FALSE
|
||||
* @return @e boolean
|
||||
*
|
||||
* <b>Example Usage:</b>
|
||||
* @code
|
||||
|
||||
Reference in new issue
Block a user