diff options
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> |