Revision 8250
Added by ben leinfelder over 11 years ago
ldapweb.cgi | ||
---|---|---|
327 | 327 |
#my $error=null; |
328 | 328 |
my $use_ssl= 1; |
329 | 329 |
#my $options=null; |
330 |
$templateVars->{$captcha} = $c->get_html($recaptchaPublicKey,undef, $use_ssl, undef); |
|
330 |
# use the AJAX style, only need to provide the public key to the template |
|
331 |
$templateVars->{'recaptchaPublicKey'} = $recaptchaPublicKey; |
|
332 |
#$templateVars->{$captcha} = $c->get_html($recaptchaPublicKey,undef, $use_ssl, undef); |
|
331 | 333 |
$template->process( $templates->{'header'}, $templateVars ); |
332 | 334 |
foreach my $tmpl (@{$templateList}) { |
333 | 335 |
$template->process( $templates->{$tmpl}, $templateVars ); |
Also available in: Unified diff
use AJAX method of including the captcha. https://projects.ecoinformatics.org/ecoinfo/issues/6098