diff options
author | mistic100 <mistic@piwigo.org> | 2012-06-05 19:55:23 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-06-05 19:55:23 +0000 |
commit | 0a454adbf65947398e4a364a376cf2874fb8a118 (patch) | |
tree | a6200d5c6a3d108e6d302dc1268aca7825271432 /themes/default | |
parent | 024b5944d2a543683ce03a86af319ecf8a3e4fa3 (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')
-rw-r--r-- | themes/default/template/picture.tpl | 2 |
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}"> |