view 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
line wrap: on
line source

<!-- tmpl_if name='comments_enabled' -->
<div id="output">
<h3>Add A Comment</h3>
<blockquote>
<form action="/cgi-bin/comments.cgi" method="post">
<input type="hidden" name="id" value="<!-- tmpl_var name='link' escape='html' -->">
<input type="hidden" name="captcha" value="">
<table>
<tr><td>Your Name</td>
    <td><input type="text" size="55" name="name"></td></tr>
<tr><td>Your Email</td>
    <td><input type="text" size="55" name="mail"></td></tr>
<tr><td colspan="2">Your Comment<br />
<textarea name="body" rows="10" cols="60">
</textarea></td></tr>
<tr><td></td><td align="right"><input type="submit" name="submit" value="Post Comment" onClick="submitAjax(); return false;"></td></tr>
</table>
</form>
<p>Your submission will be ignored if any field is left blank.  But your email address will not be displayed.</p>
</blockquote>
</div>
<!-- /tmpl_if -->