Mercurial > hg > chronicle
changeset 87:e8bd57e2e40b
Added
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Wed, 12 Dec 2007 14:56:23 +0000 |
parents | ad6136b094b8 |
children | 90de750a5bd8 |
files | themes/copyrighteous/comment-form.inc themes/copyrighteous/comment-loop.inc themes/copyrighteous/entry.template |
diffstat | 3 files changed, 31 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/copyrighteous/comment-form.inc Wed Dec 12 14:56:23 2007 +0000 @@ -0,0 +1,17 @@ +<!-- tmpl_if name='comments_enabled' --> +<h3>Add A Comment</h3> +<blockquote> +<form action="/cgi-bin/comments.cgi" method="post"> +<table> +<tr><td>Your Name</td> + <td><input type="text" size="55" name="name"></td></tr> +<tr><td>Your Name</td> + <td><input type="text" size="55" name="name"></td></tr> +<tr><td colspan="2">Your Comment<br /> +<textarea name="body" rows="10" cols="60"> +</textarea> +<tr><td></td><td><input type="submit"></td></tr> +</table> +</form> +</blockquote> +<!-- /tmpl_if -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/copyrighteous/comment-loop.inc Wed Dec 12 14:56:23 2007 +0000 @@ -0,0 +1,12 @@ +<!-- tmpl_if name='comments' --> + <h3>Comments On This Entry</h3> + <blockquote> + <!-- tmpl_loop name='comments' --> + <div class="entry"> + <div class="title"><!-- tmpl_var name='name' --></div> + <div class="date"><!-- tmpl_var name='date' --></div> + <div class="body"><!-- tmpl_var name='body' --></div> + </div> + <!-- /tmpl_loop --> + </blockquote> +<!-- /tmpl_if -->
--- a/themes/copyrighteous/entry.template Wed Dec 12 14:55:51 2007 +0000 +++ b/themes/copyrighteous/entry.template Wed Dec 12 14:56:23 2007 +0000 @@ -36,18 +36,8 @@ </div> </div> -<!-- tmpl_if name='comments' --> - <h3>Comments On This Entry</h3> - <blockquote> - <!-- tmpl_loop name='comments' --> - <div class="entry"> - <div class="title"><!-- tmpl_var name='name' --></div> - <div class="date"><!-- tmpl_var name='date' --></div> - <div class="body"><!-- tmpl_var name='body' --></div> - </div> - <!-- /tmpl_loop --> - </blockquote> -<!-- /tmpl_if --> +<!-- tmpl_include name="comment-loop.inc" --> +<!-- tmpl_include name="comment-form.inc" --> <div id="rightmenu"> <!-- tmpl_if name='datecloud' -->