Ignore:
Timestamp:
Mar 5, 2013, 7:37:03 PM (11 years ago)
Author:
flop25
Message:

adding new input for comments
PWG Stuff compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/picture.tpl

    r18640 r21215  
    352352                                                                <h4>{'Add a comment'|@translate}</h4>
    353353                                                                <form  method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment" >
    354                                                                         {if $comment_add.SHOW_AUTHOR}
    355                                                                                 <p><label>{'Author'|@translate}&nbsp;:</label></p>
    356                                                                                 <p><input type="text" name="author" /></p>
    357                                                                         {/if}
    358                                                                         <p><label>{'Comment'|@translate}&nbsp;:</label></p>
    359                                                                         <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
    360                                                                         <p><input type="hidden" name="key" value="{$comment_add.KEY}" />
    361                                                                            <input class="submit" type="submit" value="{'Submit'|@translate}"></p>
    362                                                                 </form>
     354                  {if $comment_add.SHOW_AUTHOR}
     355                    <p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p>
     356                    <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p>
     357                  {/if}
     358                  {if $comment_add.SHOW_EMAIL}
     359                    <p><label for="email">{'Email'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p>
     360                    <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p>
     361                  {/if}
     362                  <p><label for="website_url">{'Website'|@translate} :</label></p>
     363                  <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p>
     364                  <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p>
     365                  <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
     366                  <p><input type="hidden" name="key" value="{$comment_add.KEY}">
     367                    <input class="submit" type="submit" value="{'Submit'|@translate}"></p>
     368                </form>
    363369                                                        </div>
    364370                                                {/if}
Note: See TracChangeset for help on using the changeset viewer.