]> code.citadel.org Git - citadel.git/blob - webcit/static/t/blog_comment_box.html
Initial implementation of comment box for blog (not finished but it does work)
[citadel.git] / webcit / static / t / blog_comment_box.html
1 <script type="text/javascript">
2 function submit_comment() {
3         $('comment_form_references').value = $('comment_replyto').innerHTML ;
4         return false;
5 }
6 </script>
7 <div class="blog_comment">
8 Leave a comment FIXME i18n
9 <form id="blog_comment_form" accept-charset="UTF-8" enctype="multipart/form-data"
10  method="POST" action="post" onSubmit="submit_comment();">
11 <input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
12 <input type="hidden" name="nonce" value="<?NONCE>">
13 <input type="hidden" name="force_room" value="<?ROOMNAME("X")>">
14 <input type="hidden" name="references" id="comment_form_references" /><br>
15 <textarea name="msgtext" id="comment_form_msgtext" cols=80 rows=10 style="width:98%"></textarea>
16 <input type="submit" name="submit_action" value="Submit Comment" />
17 </form>
18 </div>