From 0085e272b2002437f11f74ccdde0d6975f2cd9f2 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 17 Aug 2010 13:40:52 -0400 Subject: Added back reCAPTCHA Because of the lifting of the jail around my server, it can once again use reCAPTCHAs for security. Backed out changeset 9332c237adcd --- includes/comments.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'includes/comments.php') diff --git a/includes/comments.php b/includes/comments.php index aca3eb1..78353c1 100755 --- a/includes/comments.php +++ b/includes/comments.php @@ -22,6 +22,10 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} require('headerproc.php'); +include('includes/recaptchalib.php'); +$publickey = "6LfgvgEAAAAAAG_BJMkWk8sNcT1nBaGoXKJYb-JT"; +$privatekey = "6LfgvgEAAAAAAD0_UVLp57MU7tqcypsbZPS9qTnr"; + $curID = 0; $template = new FITemplate('comments'); @@ -30,6 +34,7 @@ $template->add('USERNAME',(isLoggedIn() ? getSessionUsername() : 'Anonymous')); if (!isLoggedIn()) { + $template->add('RECAPTCHA',recaptcha_get_html($publickey)); $template->adds_block('NOLOG',array('exi'=>1)); } -- cgit 1.4.1