Ignore:
Timestamp:
Jan 17, 2013, 7:17:53 PM (11 years ago)
Author:
flop25
Message:

bug:2684
picture page and comment_list.tpl
clean up unused loader gif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/comment_list.tpl

    r18995 r20211  
    1010{/html_style}{/strip}
    1111{/if}
     12{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png"{/footer_script}
     13<div class="loader" style="display: none; position: fixed; right: 0;bottom: 0;"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
    1214<ul class="commentsList">
    1315{foreach from=$comments item=comment name=comment_loop}
     
    2123        {if !$derivative->is_cached()}
    2224        {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}
     25  {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
     26  {/if}
    2527        <div class="illustration">
    2628                <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}">
     29                <img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$comment.ALT}">
    2830                </a>
    2931        </div>
Note: See TracChangeset for help on using the changeset viewer.