source: extensions/stripped_black_bloc/template/thumbnails.tpl @ 12048

Last change on this file since 12048 was 12048, checked in by flop25, 13 years ago

adding an option to create big thumbnails periodically : new class css, admin option
changing timthumb to phpThumb.php : it's safer and works according document_root
=> new keys to translate

File size: 524 bytes
RevLine 
[10851]1{if !empty($thumbnails)}
2  {foreach from=$thumbnails item=thumbnail}
[12048]3  <div class="{$thumbnail.TN_CLASS}">
[11699]4        <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;" >
[10851]5          {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if}
6        </a>
[11709]7        <div class="title">{if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}</div>
[10851]8        </div>
9  {/foreach}
10{/if}
Note: See TracBrowser for help on using the repository browser.