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
This commit is contained in:
parent
e2fca87c9d
commit
9a33a4ea66
2 changed files with 17 additions and 18 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue