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:46:39 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-08-17 13:46:39 -0400
commit86eb02fb248b2df07919889c47686bd77e6865d7 (patch)
tree2e3879b17e43084e183c2f51e2fc36ed872874d5 /includes/comments.php
parent07be6bd4ac8e85b3c940abcd4b4d4a70a3d93593 (diff)
parent0085e272b2002437f11f74ccdde0d6975f2cd9f2 (diff)
downloadfourisland-86eb02fb248b2df07919889c47686bd77e6865d7.tar.gz
fourisland-86eb02fb248b2df07919889c47686bd77e6865d7.tar.bz2
fourisland-86eb02fb248b2df07919889c47686bd77e6865d7.zip
Merged unforgiving heads (and...)
Also updated public and private keys for reCAPTCHA. As well as the use of the new keys, Four Island now stores the private key along with the other
protected information that is not source controlled, instead of with the public key.
Diffstat (limited to 'includes/comments.php')
-rwxr-xr-xincludes/comments.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/comments.php b/includes/comments.php index aca3eb1..be48c02 100755 --- a/includes/comments.php +++ b/includes/comments.php
@@ -22,6 +22,9 @@ 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 = "6LdIZLwSAAAAAGS77bqSjfRka3TsLeRn71-W441f";
27
25$curID = 0; 28$curID = 0;
26 29
27$template = new FITemplate('comments'); 30$template = new FITemplate('comments');
@@ -30,6 +33,7 @@ $template->add('USERNAME',(isLoggedIn() ? getSessionUsername() : 'Anonymous'));
30 33
31if (!isLoggedIn()) 34if (!isLoggedIn())
32{ 35{
36 $template->add('RECAPTCHA',recaptcha_get_html($publickey));
33 $template->adds_block('NOLOG',array('exi'=>1)); 37 $template->adds_block('NOLOG',array('exi'=>1));
34} 38}
35 39