summary refs log tree commit diff stats
path: root/includes/comments.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-08-17 13:40:52 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-08-17 13:40:52 -0400
commit0085e272b2002437f11f74ccdde0d6975f2cd9f2 (patch)
treef64e03d63c8566f85f0fdaf33ac88848824f2737 /includes/comments.php
parent3b2e04f16a595893e8736a9b816bad81ecc8bf6a (diff)
downloadfourisland-0085e272b2002437f11f74ccdde0d6975f2cd9f2.tar.gz
fourisland-0085e272b2002437f11f74ccdde0d6975f2cd9f2.tar.bz2
fourisland-0085e272b2002437f11f74ccdde0d6975f2cd9f2.zip
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
Diffstat (limited to 'includes/comments.php')
-rwxr-xr-xincludes/comments.php5
1 files changed, 5 insertions, 0 deletions
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);}
22 22
23require('headerproc.php'); 23require('headerproc.php');
24 24
25include('includes/recaptchalib.php');
26$publickey = "6LfgvgEAAAAAAG_BJMkWk8sNcT1nBaGoXKJYb-JT";
27$privatekey = "6LfgvgEAAAAAAD0_UVLp57MU7tqcypsbZPS9qTnr";
28
25$curID = 0; 29$curID = 0;
26 30
27$template = new FITemplate('comments'); 31$template = new FITemplate('comments');
@@ -30,6 +34,7 @@ $template->add('USERNAME',(isLoggedIn() ? getSessionUsername() : 'Anonymous'));
30 34
31if (!isLoggedIn()) 35if (!isLoggedIn())
32{ 36{
37 $template->add('RECAPTCHA',recaptcha_get_html($publickey));
33 $template->adds_block('NOLOG',array('exi'=>1)); 38 $template->adds_block('NOLOG',array('exi'=>1));
34} 39}
35 40