source: extensions/floPure/Pure_default/template/stuffs_blocks.tpl @ 18644

Last change on this file since 18644 was 18644, checked in by plg, 11 years ago

bug fixed with PWG Stuffs blocks

File size: 1.5 KB
Line 
1<div class="content stuffs_block contentWithMenu">
2  <table id="table_content" border="0" cellspacing="0" cellpadding="0">
3    <tr>
4      <td id="section_up_left">&nbsp;</td>
5      <td id="section_up">&nbsp;</td>
6      <td id="section_up_right">&nbsp;</td>
7    </tr>
8    <tr>
9      <td id="section_left">&nbsp;</td>
10      <td id="section_in"> {foreach from=$blocks item=block key=key}
11        {if $block.new_line}
12        <div class="content stuffs_block stuffs"> {/if}
13          <div id="stuffs_block_{$block.ID}" class="content {$block.CLASS}" {if !empty($block.WIDTH)}style="width: {$block.WIDTH}%;"{/if}> {if isset($block.TITLE)}
14            <div class="titrePage"> {if !empty($block.U_EDIT)}
15              <ul class="categoryActions">
16                <li><a href="{$block.U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button"> <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span> </a></li>
17              </ul>
18              {/if}
19              {if isset($block.TITLE_URL)}
20              <h2><a href="{$block.TITLE_URL}">{$block.TITLE}</a></h2>
21              {else}
22              <h2>{$block.TITLE}</h2>
23              {/if} </div>
24            {/if}
25            {include file=$block.TEMPLATE} </div>
26          {if $block.end_line} </div>
27        {/if}
28        {/foreach} </td>
29      <td id="section_right">&nbsp;</td>
30    </tr>
31    <tr>
32      <td id="section_bottom_left">&nbsp;</td>
33      <td id="section_bottom" >&nbsp;</td>
34      <td id="section_bottom_right" >&nbsp;</td>
35    </tr>
36  </table>
37</div>
Note: See TracBrowser for help on using the repository browser.