Changeset 16504 for trunk/themes
- Timestamp:
- Jul 8, 2012, 6:31:28 PM (12 years ago)
- Location:
- trunk/themes/default/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/mainpage_categories.tpl
r14239 r16504 1 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} 2 {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} 1 3 {strip}{html_style} 2 4 .thumbnailCategory .illustration{ldelim} … … 10 12 <ul class="thumbnailCategories"> 11 13 {foreach from=$category_thumbnails item=cat name=cat_loop} 14 {assign var=derivative value=$pwg->derivative($derivative_params, $cat.representative.src_image)} 12 15 <li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 13 16 <div class="thumbnailCategory"> 14 17 <div class="illustration"> 15 18 <a href="{$cat.URL}"> 16 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}"alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">19 <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="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> 17 20 </a> 18 21 </div> -
trunk/themes/default/template/thumbnails.tpl
r14239 r16504 30 30 <span class="wrap2"> 31 31 <a href="{$thumbnail.URL}"> 32 <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}"alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">32 <img class="thumbnail" {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="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 33 33 </a> 34 34 </span>
Note: See TracChangeset
for help on using the changeset viewer.