aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2010-04-05 20:49:32 +0000
committergrum <grum@piwigo.org>2010-04-05 20:49:32 +0000
commit9a33a4ea663becff978d5a03348d23f5b18907e5 (patch)
tree5a3e98e2b2ac91596e0de52c7b82d7607f4a9b2e /themes/default
parente2fca87c9d7012d6531d3e3f2d8d38518ba7a9e2 (diff)
bug 1580 - remove some hard coded markup (move them to the template)
git-svn-id: http://piwigo.org/svn/trunk@5682 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/template/comment_list.tpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index 117979bce..c3e5eb791 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -40,16 +40,16 @@
{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}">
- <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
- <input class="submit" type="submit" value="{'Submit'|@translate}">
- </fieldset>
+ <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}">
+ <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
+ <input class="submit" type="submit" value="{'Submit'|@translate}">
+ </fieldset>
</form>
- {else}
- <blockquote>{$comment.CONTENT}</blockquote>
+ {else}
+ <blockquote><div>{$comment.CONTENT}</div></blockquote>
{/if}
</div>
</div>