Ignore:
Timestamp:
Dec 21, 2013, 5:33:24 PM (10 years ago)
Author:
mistic100
Message:

update for Piwigo 2.6 + code clean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/template/comment_list.tpl

    r20181 r26065  
    66    <div class="actions" style="float:right;font-size:90%">
    77    {if isset($comment.U_DELETE)}
    8       <a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
    9         {'Delete'|@translate}
     8      <a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|@escape:javascript}');">
     9        {'Delete'|translate}
    1010      </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT) or isset($comment.U_CANCEL)} | {/if}
    1111    {/if}
    1212    {if isset($comment.U_CANCEL)}
    1313      <a href="{$comment.U_CANCEL}">
    14         {'Cancel'|@translate}
     14        {'Cancel'|translate}
    1515      </a>{if isset($comment.U_VALIDATE)} | {/if}
    1616    {/if}
    1717    {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    1818      <a class="editComment" href="{$comment.U_EDIT}#edit_comment">
    19         {'Edit'|@translate}
     19        {'Edit'|translate}
    2020      </a>{if isset($comment.U_VALIDATE)} | {/if}
    2121    {/if}
    2222    {if isset($comment.U_VALIDATE)}
    2323      <a href="{$comment.U_VALIDATE}">
    24         {'Validate'|@translate}
     24        {'Validate'|translate}
    2525      </a>
    2626    {/if}&nbsp;
     
    3737
    3838    <div class="commentHeader">
    39       {'%s says on %s :'|@translate|@sprintf:$author:$date}<br>
     39      {'%s says on %s :'|translate:$author:$date}<br>
    4040      {if $comment.STARS}{$comment.STARS}{/if}
    4141      {if $comment.EMAIL} <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
     
    4444    <a name="edit_comment"></a>
    4545    <form method="post" action="{$comment.U_EDIT}" id="editComment">
    46       <p><label>{'Edit a comment'|@translate} :</label></p>
     46      <p><label>{'Edit a comment'|translate} :</label></p>
    4747      <p><textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></p>
    4848      <p><input type="hidden" name="key" value="{$comment.KEY}">
    4949        <input type="hidden" name="pwg_token" value="{$comment.PWG_TOKEN}">
    5050        <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
    51         <input type="submit" value="{'Submit'|@translate}">
     51        <input type="submit" value="{'Submit'|translate}">
    5252      </p>
    5353    </form>
Note: See TracChangeset for help on using the changeset viewer.