Project

General

Profile

« Previous | Next » 

Revision 251

Added by ryan almost 19 years ago

Added captcha verification option to settings page

View differences:

index.php
313 313
	$template->set_var('SMART_LOGIN_DISABLED', ' checked');
314 314
}
315 315

  
316
// Work-out if captcha verification feature is enabled
317
if(defined('CAPTCHA_VERIFICATION') AND CAPTCHA_VERIFICATION == true) {
318
	$template->set_var('CAPTCHA_VERIFICATION_ENABLED', ' checked');
319
} else {
320
	$template->set_var('CAPTCHA_VERIFICATION_DISABLED', ' checked');
321
}
322

  
316 323
// Work-out if section blocks feature is enabled
317 324
if(defined('SECTION_BLOCKS') AND SECTION_BLOCKS == true) {
318 325
	$template->set_var('SECTION_BLOCKS_ENABLED', ' checked');
......
545 552
								'TEXT_WRITE' => $TEXT['WRITE'],
546 553
								'TEXT_EXECUTE' => $TEXT['EXECUTE'],
547 554
								'TEXT_SMART_LOGIN' => $TEXT['SMART_LOGIN'],
555
								'TEXT_CAPTCHA_VERIFICATION' => $TEXT['CAPTCHA_VERIFICATION'],
548 556
								'TEXT_MULTIPLE_MENUS' => $TEXT['MULTIPLE_MENUS'],
549 557
								'TEXT_HOMEPAGE_REDIRECTION' => $TEXT['HOMEPAGE_REDIRECTION'],
550 558
								'TEXT_SECTION_BLOCKS' => $TEXT['SECTION_BLOCKS'],

Also available in: Unified diff