source: extensions/stripped_black_bloc/template/stuffs_thumbnails.tpl @ 13211

Last change on this file since 13211 was 13211, checked in by flop25, 12 years ago

masonry changed for isotope.js
enhanced compat. with stuffs_thumbnails.tpl

File size: 546 bytes
RevLine 
[13211]1{assign var='thumbnails' value=$block.thumbnails}
2{if !empty($thumbnails)}
3  {foreach from=$thumbnails item=thumbnail}
4  <div class="{$thumbnail.TN_CLASS}">
5        <a href="{$thumbnail.URL}" style="background: url({$thumbnail.TN_SRC}) no-repeat scroll center center transparent; height: {$thumbnail.TN_HEIGHT}px; width: {$thumbnail.TN_WIDTH}px; opacity: 0.75;" >
6          RECENT
7        </a>
8        <div class="title">{if isset($block.TITLE)}{$block.TITLE}{elseif isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div>
9        </div>
10  {/foreach}
11{/if}
Note: See TracBrowser for help on using the repository browser.