aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-06-05 19:55:23 +0000
committermistic100 <mistic@piwigo.org>2012-06-05 19:55:23 +0000
commit0a454adbf65947398e4a364a376cf2874fb8a118 (patch)
treea6200d5c6a3d108e6d302dc1268aca7825271432 /themes/default/template
parent024b5944d2a543683ce03a86af319ecf8a3e4fa3 (diff)
merge r15570 from trunk
bug:2645 author field is kept when comment not validated git-svn-id: http://piwigo.org/svn/branches/2.3@15571 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template')
-rw-r--r--themes/default/template/picture.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index d98160a73..b38f6c50b 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -306,7 +306,7 @@ y.callService(
<fieldset>
<legend>{'Add a comment'|@translate}</legend>
{if $comment_add.SHOW_AUTHOR}
- <label>{'Author'|@translate}<input type="text" name="author"></label>
+ <label>{'Author'|@translate}<input type="text" name="author" value="{$comment_add.AUTHOR}"></label>
{/if}
<label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
<input type="hidden" name="key" value="{$comment_add.KEY}">