5 use Captcha::reCAPTCHA;
7 use vars qw( $template_dir $captcha_pubkey );
8 require "$ENV{BFConfDir}/BuildFarmWeb.pl";
11 my $c = Captcha::reCAPTCHA->new;
13 my $captcha = $c->get_html($captcha_pubkey);
15 my $template_opts = { INCLUDE_PATH => $template_dir };
16 my $template = new Template($template_opts);
18 print "Content-Type: text/html\n\n";
21 $template->process('register-form.tt',{captcha => $captcha});