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

Revision 13211, 546 bytes checked in by flop25, 8 years ago (diff)

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

Line 
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.