aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comment_list.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-04-02 20:49:46 +0000
committerrvelices <rv-github@modusoptimus.com>2012-04-02 20:49:46 +0000
commit9c06bb55645c314541fdcff9e9611b38ca0694ac (patch)
treef1a544171c581cceaedd91b8a73c22ab17516541 /themes/default/template/comment_list.tpl
parent9c6f27c0e127ba1d54435ade0045c591da0de65a (diff)
- comment edit form looks ok now with the new comment layout
- removed unused css / simplify it - simplified jquery drop boxes ... git-svn-id: http://piwigo.org/svn/trunk@13865 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/comment_list.tpl')
-rw-r--r--themes/default/template/comment_list.tpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index b73cc39e2..cb3052d11 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -43,14 +43,14 @@
<span class="commentAuthor">{$comment.AUTHOR}</span> - <span class="commentDate">{$comment.DATE}</span>
{if isset($comment.IN_EDIT)}
<a name="edit_comment"></a>
- <form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
- <fieldset>
- <legend>{'Edit a comment'|@translate}</legend>
- <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
- <input type="hidden" name="key" value="{$comment.KEY}">
+ <form method="post" action="{$comment.U_EDIT}" id="editComment">
+ <p><label>{'Edit a comment'|@translate} :</label></p>
+ <p><textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></p>
+ <p><input type="hidden" name="key" value="{$comment.KEY}">
+ <input type="hidden" name="pwg_token" value="{$comment.PWG_TOKEN}">
<input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
<input type="submit" value="{'Submit'|@translate}">
- </fieldset>
+ </p>
</form>
{else}
<blockquote><div>{$comment.CONTENT}</div></blockquote>