Changeset 15570 for trunk/themes


Ignore:
Timestamp:
Jun 5, 2012, 9:51:54 PM (12 years ago)
Author:
mistic100
Message:

bug:2645 author field is kept when comment not validated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r15551 r15570  
    348348                        <form method="post" action="{$comment_add.F_ACTION}" id="addComment">
    349349                                {if $comment_add.SHOW_AUTHOR}
    350                                         <p><label>{'Author'|@translate} :</label></p>
    351                                         <p><input type="text" name="author"></p>
    352                                         <p><label>{'Comment'|@translate} :</label></p>
     350                                        <p><label for="author">{'Author'|@translate} :</label></p>
     351                                        <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p>
     352                                        <p><label for="contentid">{'Comment'|@translate} :</label></p>
    353353                                {/if}
    354354                                <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
Note: See TracChangeset for help on using the changeset viewer.