aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-07-01 20:43:20 +0000
committerrvelices <rv-github@modusoptimus.com>2009-07-01 20:43:20 +0000
commitae6ab9966b171f34cdc902acf938e49a412fc006 (patch)
tree719fc58fab8f8169eae1de90dc6b2a6179658c2b /template/yoga
parented23132fc788b0833def52bc4d8372026c64e039 (diff)
- remove unnecessary addslashes in comments.cpp
- in template use modifier |@default instead of |default (generated code is faster because we indicate that the input is scalar and not an array) git-svn-id: http://piwigo.org/svn/trunk@3487 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/comment_list.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
index 3a5c1e16f..5586c0f2a 100644
--- a/template/yoga/comment_list.tpl
+++ b/template/yoga/comment_list.tpl
@@ -42,9 +42,9 @@
<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>
+ <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 type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
<input class="submit" type="submit" value="{'Submit'|@translate}">
</fieldset>
</form>