source: extensions/simple_themes/simple/template/stuffs_blocks.tpl @ 13552

Last change on this file since 13552 was 13552, checked in by plg, 12 years ago

import theme Simple version 2.4.1

  • new tpl for PWG stuff - thanks to P@t
  • subcontent is now a class, to allow several subcontent block inside the content block
  • add get_combined_scripts in the footer
File size: 629 bytes
Line 
1{php}remove_event_handler('loc_end_index', 'hide_main_block');{/php}
2{foreach from=$blocks item=block key=key}
3{if isset($block.TITLE)}
4<div class="titrePage">
5  {if !empty($block.U_EDIT)}
6    <ul class="categoryActions">
7      <li><a href="{$block.U_EDIT}" title="{'edit'|@translate}">{'edit'|@translate}</a></li>
8    </ul>
9  {/if}
10  {if isset($block.TITLE_URL)}
11    <h2><a href="{$block.TITLE_URL}">{$block.TITLE}</a></h2>
12  {else}
13    <h2>{$block.TITLE}</h2>
14  {/if}
15</div>
16{/if}
17<div class="subcontent" class="stuffs_block">
18  <div id="stuffs_block_{$block.ID}">
19    {include file=$block.TEMPLATE}
20  </div>
21</div>
22{/foreach}
Note: See TracBrowser for help on using the repository browser.