source: extensions/PWG_Stuffs/trunk/theme/template/stuffs_blocks.tpl @ 9737

Revision 9737, 974 bytes checked in by patdenice, 9 years ago (diff)

Compatible 2.2

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