diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2010-08-17 13:40:52 -0400 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2010-08-17 13:40:52 -0400 |
| commit | 0085e272b2002437f11f74ccdde0d6975f2cd9f2 (patch) | |
| tree | f64e03d63c8566f85f0fdaf33ac88848824f2737 /theme | |
| parent | 3b2e04f16a595893e8736a9b816bad81ecc8bf6a (diff) | |
| download | fourisland-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 'theme')
| -rwxr-xr-x | theme/comments.tpl | 7 |
1 files changed, 3 insertions, 4 deletions
| diff --git a/theme/comments.tpl b/theme/comments.tpl index caf2eb6..9c86009 100755 --- a/theme/comments.tpl +++ b/theme/comments.tpl | |||
| @@ -73,7 +73,8 @@ function postComment() | |||
| 73 | username: jQuery("#newComment input:text[name=username]").val(), | 73 | username: jQuery("#newComment input:text[name=username]").val(), |
| 74 | email: jQuery("#newComment input:text[name=email]").val(), | 74 | email: jQuery("#newComment input:text[name=email]").val(), |
| 75 | website: jQuery("#newComment input:text[name=website]").val(), | 75 | website: jQuery("#newComment input:text[name=website]").val(), |
| 76 | code: jQuery("#newComment input:text[name=code]").val() | 76 | recaptcha_challenge_field: jQuery("#newComment input[name=recaptcha_challenge_field]").val(), |
| 77 | recaptcha_response_field: jQuery("#newComment input[name=recaptcha_response_field]").val() | ||
| 77 | }), | 78 | }), |
| 78 | dataType: "text", | 79 | dataType: "text", |
| 79 | success: function(msg) { | 80 | success: function(msg) { |
| @@ -109,9 +110,7 @@ function postComment() | |||
| 109 | <p> | 110 | <p> |
| 110 | Name: <input type="text" name="username" /><br /> | 111 | Name: <input type="text" name="username" /><br /> |
| 111 | Email: <input type="text" name="email" /><br /> | 112 | Email: <input type="text" name="email" /><br /> |
| 112 | Website (Optional): <input type="text" name="website" /><br /> | 113 | Website (Optional): <input type="text" name="website" /> |
| 113 | Security Image: <img src="/includes/securimage/securimage_show.php" alt="CAPTCHA Image" /><br /> | ||
| 114 | Security Code: <input type="text" name="code" /> | ||
| 115 | </p> | 114 | </p> |
| 116 | <!--END NOLOG--> | 115 | <!--END NOLOG--> |
| 117 | <button type="button" onclick="postComment();">Post</button> | 116 | <button type="button" onclick="postComment();">Post</button> |
