Ignore:
Timestamp:
Mar 14, 2012, 2:34:13 PM (12 years ago)
Author:
plg
Message:

import theme Simple version 2.3

  • if cl_conflit is used, don't add jQuery.noConflict
  • fix the possibility to toggle visibility of image informations
  • show logout link when connected - thanks to gbo
  • update jquery to 1.4.4
  • backport commit from piwigo: r6244, r6430 & r6438
  • add gitignore
  • update javascripts + add script to combine/minify
  • apply r6594 from piwigo's trunk
  • move jquery in the header, using known_script
  • translation for the menu title
  • add 1px icon start_filter.png to avoid loading error with rvtree plugin
  • margin for error & info divs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/comment_list.tpl

    r13546 r13549  
    1212        {if isset($comment.U_DELETE)}
    1313        <li>
    14                 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
    15                         [delete]
    16                 </a>
     14          <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
     15            [delete]
     16          </a>
    1717        </li>
    1818        {/if}
    19     {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    20     <li>
    21       <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
    22         [edit]
    23       </a>
    24     </li>
    25     {/if}
     19        {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
     20        <li>
     21          <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
     22            [edit]
     23          </a>
     24        </li>
     25        {/if}
    2626        {if isset($comment.U_VALIDATE)}
    2727        <li>
    28                 <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
    29                         [validate]
    30                 </a>
     28          <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
     29            [validate]
     30          </a>
    3131        </li>
    3232        {/if}
     
    3737      <a name="edit_comment"></a>
    3838      <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
    39           <fieldset>
    40                 <legend>{'Edit a comment'|@translate}</legend>
    41                 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
    42                 <input type="hidden" name="key" value="{$comment.KEY}">
    43                 <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
    44                 <input class="submit" type="submit" value="{'Submit'|@translate}">
    45           </fieldset>
     39        <fieldset>
     40          <legend>{'Edit a comment'|@translate}</legend>
     41          <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
     42          <input type="hidden" name="key" value="{$comment.KEY}">
     43          <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
     44          <input class="submit" type="submit" value="{'Submit'|@translate}">
     45        </fieldset>
    4646      </form>
    4747      {else}
Note: See TracChangeset for help on using the changeset viewer.