From fcf2ed252f5d2af76f4652b8f02285216b9e5ed9 Mon Sep 17 00:00:00 2001 From: Zach Hall Date: Wed, 27 Jan 2010 21:57:44 -0800 Subject: [PATCH] CAPTCHA in Danbooru user signup form. --- themes/danbooru/user.theme.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/danbooru/user.theme.php b/themes/danbooru/user.theme.php index d1bd459a..15f62894 100644 --- a/themes/danbooru/user.theme.php +++ b/themes/danbooru/user.theme.php @@ -52,6 +52,8 @@ class CustomUserPageTheme extends UserPageTheme { $tfe = new TextFormattingEvent($tac); send_event($tfe); $tac = $tfe->formatted; + + $reca = "".captcha_get_html().""; if(empty($tac)) {$html = "";} else {$html = "

$tac

";} @@ -63,6 +65,7 @@ class CustomUserPageTheme extends UserPageTheme { Password Repeat Password Email (Optional) + $reca;