source: extensions/stripped_black_bloc/template/stuffs_blocks.tpl @ 30289

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

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

File size: 944 bytes
Line 
1{foreach from=$blocks item=block key=key}
2  {if !isset($block.thumbnails)}
3    <div id="stuffs_block_{$block.ID}" class="content bloc_stuff {$block.CLASS} {$block.TEMPLATE|replace:'.tpl':''}" {if !empty($block.WIDTH)}style="width: {$block.WIDTH}%;"{/if}>
4    {if isset($block.TITLE)}
5      <div class="titrePage">
6        {if !empty($block.U_EDIT)}
7        <ul class="categoryActions">
8          <li><a href="{$block.U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button">
9            <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
10                        </a></li>
11        </ul>
12        {/if}
13      {if isset($block.TITLE_URL)}
14      <h2><a href="{$block.TITLE_URL}">{$block.TITLE}</a></h2>
15      {else}
16      <h2>{$block.TITLE}</h2>
17      {/if}
18      </div>
19    {/if}
20  {/if}
21    {include file=$block.TEMPLATE}
22  {if !isset($block.thumbnails)}
23  </div>
24  {/if}
25{/foreach}
Note: See TracBrowser for help on using the repository browser.