comparison themes/blog.steve.org.uk/comment-form.inc @ 155:4d2f0d6866e5

Updated the display of the blog comment when using AJAX
author Steve Kemp <steve@steve.org.uk>
date Thu, 03 Jan 2008 21:45:58 +0000
parents 4a882ba147e4
children 8b0c547cd015
comparison
equal deleted inserted replaced
154:9f91d9377d1a 155:4d2f0d6866e5
1 <!-- tmpl_if name='comments_enabled' --> 1 <!-- tmpl_if name='comments_enabled' -->
2 <div id="output">
2 <h3>Add A Comment</h3> 3 <h3>Add A Comment</h3>
3 <blockquote> 4 <blockquote>
4 <div id="output">
5 <form action="/cgi-bin/comments.cgi" method="post"> 5 <form action="/cgi-bin/comments.cgi" method="post">
6 <input type="hidden" name="id" value="<!-- tmpl_var name='link' escape='html' -->"> 6 <input type="hidden" name="id" value="<!-- tmpl_var name='link' escape='html' -->">
7 <input type="hidden" name="captcha" value=""> 7 <input type="hidden" name="captcha" value="">
8 <table> 8 <table>
9 <tr><td>Your Name</td> 9 <tr><td>Your Name</td>
15 </textarea></td></tr> 15 </textarea></td></tr>
16 <tr><td></td><td align="right"><input type="submit" name="submit" value="Post Comment" onClick="submitAjax(); return false;"></td></tr> 16 <tr><td></td><td align="right"><input type="submit" name="submit" value="Post Comment" onClick="submitAjax(); return false;"></td></tr>
17 </table> 17 </table>
18 </form> 18 </form>
19 <p>Your submission will be ignored if any field is left blank. But your email address will not be displayed.</p> 19 <p>Your submission will be ignored if any field is left blank. But your email address will not be displayed.</p>
20 </blockquote>
20 </div> 21 </div>
21 </blockquote>
22 <!-- /tmpl_if --> 22 <!-- /tmpl_if -->