source: extensions/luciano/template/stuffs_blocks.tpl @ 27593

Last change on this file since 27593 was 27593, checked in by plg, 7 years ago

bug fixed: use the edit icon from CSS sprite

File size: 644 bytes
Line 
1{foreach from=$blocks item=block key=key}
2        <div id="stuffs_block_{$block.ID}" class="content contentWithMenu">
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}"><span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span></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        {include file=$block.TEMPLATE}
18        </div>
19{/foreach}
Note: See TracBrowser for help on using the repository browser.