summaryrefslogtreecommitdiff
path: root/templates/comments_post_inc.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comments_post_inc.tpl')
-rw-r--r--templates/comments_post_inc.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/comments_post_inc.tpl b/templates/comments_post_inc.tpl
index 79d1199..13acd50 100644
--- a/templates/comments_post_inc.tpl
+++ b/templates/comments_post_inc.tpl
@@ -55,16 +55,16 @@
{formhelp note=""}
{/forminput}
</div>
+ {captcha variant="row" id="post-captcha" style="display:none"}
<div class="row">
{forminput}
- <input type="checkbox" name="anon_post" id="anon-post" value="y" onchange="BitBase.toggleElementDisplay('post-login','block');BitBase.toggleElementDisplay('post-anon','block');" /> {tr}Anonymous Post{/tr}
+ <input type="checkbox" name="anon_post" id="anon-post" value="y" onchange="BitBase.toggleElementDisplay('post-login','block');BitBase.toggleElementDisplay('post-anon','block');BitBase.toggleElementDisplay('post-captcha','block');" /> {tr}Anonymous Post{/tr}
{formhelp note=""}
{/forminput}
</div>
{/if}
{textarea id="commentpost" name="comment_data" rows=$gBitSystem->getConfig('comments_default_post_lines', 6)}{$postComment.data}{/textarea}
- {captcha variant="row"}
<div class="row submit">
<input type="submit" name="post_comment_preview" value="{tr}Preview{/tr}" {if $comments_ajax}onclick="LibertyComment.previewComment(); return false;"{/if}/>&nbsp;