- Timestamp:
- Sep 10, 2012, 4:58:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/template/stuffs_thumbnails.tpl
r17740 r17843 7 7 {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc, $thumbnail.src_image)} 8 8 {assign var='size' value=$derivative->get_size()} 9 <div class=" {$thumbnail.TN_CLASS}">9 <div class="bloc {$thumbnail.TN_CLASS}"> 10 10 <a href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}> 11 11 {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if} 12 12 </a> 13 {if $SHOW_THUMBNAIL_CAPTION }14 13 <div class="title">{if isset($block.TITLE)}{$block.TITLE}{elseif isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div> 15 {/if}16 14 </div> 17 15 {/foreach}
Note: See TracChangeset
for help on using the changeset viewer.