Ignore:
Timestamp:
Mar 5, 2013, 8:01:31 PM (8 years ago)
Author:
flop25
Message:

* version 2.4.0

  • update for 2.5:

--website for comments (r21215)
--ajax loader and thumbnails icons
--navigation bar updated (r21210)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/mainpage_categories.tpl

    r14687 r21216  
    33        $this->assign( 'stripped', $stripped );
    44{/php}
     5{footer_script}
     6  var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests};
     7{/footer_script}
     8<div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
    59<ul class="thumbnailCategories">
    610  {foreach from=$category_thumbnails item=cat name=catloop}
     11  {if !$derivative->is_cached()}
     12  {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
     13  {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
     14  {/if}
     15  {assign var=derivative value=$pwg->derivative($stripped.albumSize, $cat.representative.src_image)}
    716  <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}" {if ($stripped.albumFrame)}onclick="window.location='{$cat.URL}';"{/if}>
    817        <div class="thumbnailCategory">
    918                <div class="illustration">
    1019                        <a href="{$cat.URL}">
    11                                 <img src="{$pwg->derivative_url($stripped.albumSize, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
     20        <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="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
    1221                        </a>
    1322                </div>
Note: See TracChangeset for help on using the changeset viewer.