From: <du...@us...> - 2012-10-27 15:06:42
|
Revision: 10238 http://sourceforge.net/p/xoops/svn/10238 Author: dugris Date: 2012-10-27 15:06:41 +0000 (Sat, 27 Oct 2012) Log Message: ----------- fix define in xcaptcha Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/image.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/text.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/image.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/image.php 2012-10-26 17:40:36 UTC (rev 10237) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/image.php 2012-10-27 15:06:41 UTC (rev 10238) @@ -22,7 +22,9 @@ if ( !defined('_XCAPTCHA_IMAGE') ) { define('_XCAPTCHA_FORM_IMAGE', 'Configuration CAPTCHA : Image'); - define('_XCAPTCHA_NUM_CHARS', 'Number of characters'); + if (!defined('_XCAPTCHA_NUM_CHARS')) { + define('_XCAPTCHA_NUM_CHARS', 'Number of characters'); + } define('_XCAPTCHA_CASESENSITIVE', 'Case insensitive'); define('_XCAPTCHA_FONTSIZE_MIN', 'Minimum size of the font'); define('_XCAPTCHA_FONTSIZE_MAX', 'Maximum size of the font'); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/text.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/text.php 2012-10-26 17:40:36 UTC (rev 10237) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/language/english/text.php 2012-10-27 15:06:41 UTC (rev 10238) @@ -20,7 +20,9 @@ if ( !defined('_XCAPTCHA_TEXT') ) { define('_XCAPTCHA_FORM_TEXT', 'Configuration CAPTCHA : Texte'); - //define('_XCAPTCHA_NUM_CHARS', 'Number of characters'); + if (!defined('_XCAPTCHA_NUM_CHARS')) { + define('_XCAPTCHA_NUM_CHARS', 'Number of characters'); + } define('_XCAPTCHA_TEXT', true); } |