Changeset 11316 for extensions/CryptograPHP/include
- Timestamp:
- Jun 11, 2011, 3:01:45 PM (13 years ago)
- Location:
- extensions/CryptograPHP/include
- Files:
-
- 3 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/include/contactform.inc.php
r11249 r11316 13 13 global $template, $conf; 14 14 15 //if (!is_a_guest()) return;15 if (!is_a_guest()) return; 16 16 17 17 $template->set_prefilter('cf_form', 'captcha_prefilter'); 18 $template->assign('CAPTCHA', dsp_crypt($conf['cryptographp_theme'] .'.cfg.php',1));18 $template->assign('CAPTCHA', dsp_crypt($conf['cryptographp_theme'][0].'.cfg.php',1)); 19 19 } 20 20 … … 38 38 function check_captcha($infos) 39 39 { 40 global $conf;41 42 40 if (!is_a_guest()) return $infos; 43 41 -
extensions/CryptograPHP/include/register.inc.php
r11249 r11316 14 14 15 15 $template->set_prefilter('register', 'captcha_prefilter'); 16 $template->assign('CAPTCHA', dsp_crypt($conf['cryptographp_theme'] .'.cfg.php',1));16 $template->assign('CAPTCHA', dsp_crypt($conf['cryptographp_theme'][0].'.cfg.php',1)); 17 17 } 18 18 … … 41 41 function check_captcha($errors) 42 42 { 43 global $conf;44 45 43 if (!chk_crypt($_POST['code'])) 46 44 {
Note: See TracChangeset
for help on using the changeset viewer.