Ignore:
Timestamp:
Nov 11, 2011, 12:10:02 AM (12 years ago)
Author:
grum
Message:

feature:2499 - compatibility with Piwigo 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/template/comment_list.tpl

    r6109 r12592  
    5151        {if isset($comment.U_DELETE)}
    5252        <li>
    53           <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" onclick="document.location='{$comment.U_DELETE}';" title="{'delete this comment'|@translate}"/>
     53          <span class="button id_delete" onclick="document.location='{$comment.U_DELETE}';" title="{'delete this comment'|@translate}"></span>
    5454        </li>
    5555        {/if}
     
    8787            $this->assign_by_ref('comment', $comment);
    8888          {/php}
    89           <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"
    90                onclick="editInside('{$comment.U_EDIT}#edit_comment}', '{$comment.CONTENT|@escape}', {$comment.IMAGE_ID|@default:$current.id}, '{$comment.KEY}', {$smarty.foreach.comment_loop.index});" title="{'edit this comment'|@translate}"/>
     89          <span class="button id_edit" onclick="editInside('{$comment.U_EDIT}#edit_comment}', '{$comment.CONTENT|@escape}', {$comment.IMAGE_ID|@default:$current.id}, '{$comment.KEY}', {$smarty.foreach.comment_loop.index});" title="{'edit this comment'|@translate}"></span>
     90
    9191        </li>
    9292        {/if}
     
    9494        {if isset($comment.U_VALIDATE)}
    9595        <li>
    96           <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" onclick="document.location='{$comment.U_VALIDATE}';" title="{'validate this comment'|@translate}"/>
     96          <span class="button id_validate" onclick="document.location='{$comment.U_VALIDATE}';" title="{'validate this comment'|@translate}"></span>
    9797        </li>
    9898        {/if}
Note: See TracChangeset for help on using the changeset viewer.