1 |
{*---------------------------------------- |
2 |
$Id: form-item-comment.tpl,v 1.2 2005/10/12 23:15:13 migurski Exp $ |
3 |
vim: ts=4 foldcolumn=4 foldmethod=marker |
4 |
|
5 |
This file is part of Reblog: http://reblog.org |
6 |
A derivative work of Feed On Feeds: http://feedonfeeds.com |
7 |
|
8 |
Distributed under the Gnu Public License, see LICENSE |
9 |
|
10 |
Copyright ©2004 Michael Frumin, Michal Migurski |
11 |
mike@stamen.com, http://stamen.com |
12 |
mfrumin@eyebeam.org, http://eyebeam.org |
13 |
|
14 |
form-item-comment.tpl - |
15 |
----------------------------------------*} |
16 |
<form method="POST" action="#" onsubmit="submit_item_commentform(this, {$item->getID()}); return false;"> |
17 |
<input type="hidden" name="return" value="{$return|escape}" /> |
18 |
<input type="hidden" name="item" value="{$item->getID()}" /> |
19 |
|
20 |
<h3>Tags</h3> |
21 |
<p> |
22 |
<input type="text" name="itemtags" value="{foreach from=$item->metadata.tags item="tag"}{$tag|escape} {/foreach}" size="48" id="auto-focus-{$item->getID()}" /> |
23 |
</p> |
24 |
|
25 |
<h3>Comment</h3> |
26 |
<p> |
27 |
<textarea name="comment" rows="4" cols="48">{$item->metadata.comment}</textarea> |
28 |
</p> |
29 |
|
30 |
<p> |
31 |
<input type="submit" name="action" value="Save" /> |
32 |
<input type="reset" onclick="populate_item_body({$item->getID()}, 'itemBodyHTML', 'itemTab{$item->getID()}View'); return false;" name="action" value="Cancel" /> |
33 |
</p> |
34 |
|
35 |
</form> |