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

Last change on this file since 11679 was 11679, checked in by flop25, 10 years ago

custom navigation bar
menu switch works according to the config and at the first run
custom album tittle color

File size: 864 bytes
Line 
1{foreach from=$blocks item=block key=key}
2    <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}>
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}" class="pwg-state-default pwg-button">
8            <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
9                        </a></li>
10        </ul>
11        {/if}
12      {if isset($block.TITLE_URL)}
13      <h2><a href="{$block.TITLE_URL}">{$block.TITLE}</a></h2>
14      {else}
15      <h2>{$block.TITLE}</h2>
16      {/if}
17      </div>
18    {/if}
19    {include file=$block.TEMPLATE}
20    </div>
21{/foreach}
Note: See TracBrowser for help on using the repository browser.