#18820393 : add captcha for signup

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7392 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-04-24 14:15:23 +00:00
parent d02f39171b
commit 314dbb6ba7
2 changed files with 44 additions and 9 deletions

View file

@ -21,6 +21,7 @@
$target_acts = array('procBoardInsertDocument','procBoardInsertComment','procIssuetrackerInsertIssue','procIssuetrackerInsertHistory','procTextyleInsertComment');
if($addon_info->apply_find_account=='apply') $target_acts[] = 'procMemberFindAccount';
if($addon_info->apply_resend_auth_mail=='apply') $target_acts[] = 'procMemberResendAuthMail';
if($addon_info->apply_signup=='apply') $target_acts[] = 'procMemberInsert';
Context::addHtmlHeader('<script type="text/javascript"> var captchaTargetAct = new Array("'.implode('","',$target_acts).'"); </script>');