aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comment_list.tpl
diff options
context:
space:
mode:
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>