Ignore:
Timestamp:
Jul 23, 2012, 2:05:14 PM (12 years ago)
Author:
flop25
Message:

revert bug:2684 on tpl files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/themes/default/template/comment_list.tpl

    r16523 r16930  
    1414<li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
    1515        {if isset($comment.src_image)}
    16         {if isset($comment_derivative_params)}
    17         {assign var=derivative value=$pwg->derivative($comment_derivative_params, $comment.src_image)}
    18         {else}
    19         {assign var=derivative value=$pwg->derivative($derivative_params, $comment.src_image)}
    20         {/if}
    21         {if !$derivative->is_cached()}
    22         {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
    23         {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
    24         {/if}
    2516        <div class="illustration">
    2617                <a href="{$comment.U_PICTURE}">
    27                 <img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax-loader-small.gif" data-src="{$derivative->get_url()}"{/if} alt="{$comment.ALT}">
     18                <img src="{$pwg->derivative_url($derivative_params, $comment.src_image)}" alt="{$comment.ALT}">
    2819                </a>
    2920        </div>
Note: See TracChangeset for help on using the changeset viewer.