source: extensions/PWG_Stuffs/theme/template/stuffs_blocks.tpl @ 5727

Last change on this file since 5727 was 5727, checked in by patdenice, 14 years ago

2.1 ready!

File size: 906 bytes
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}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li>
12        </ul>
13        {/if}
14      {if isset($block.TITLE_URL)}
15      <h2><a href="{$block.TITLE_URL}">{$block.TITLE}</a></h2>
16      {else}
17      <h2>{$block.TITLE}</h2>
18      {/if}
19      </div>
20    {/if}
21    {include file=$block.TEMPLATE}
22    </div>
23  {if $block.end_line}
24  </div>
25  {/if}
26{/foreach}
27</div>
Note: See TracBrowser for help on using the repository browser.