Last change
on this file since 7935 was
5714,
checked in by flop25, 15 years ago
|
moving the old template structure to a specific folder
|
File size:
1.2 KB
|
Line | |
---|
1 | {if !empty($blocks) } |
---|
2 | |
---|
3 | {if isset($blocks.mbMenu)} |
---|
4 | {assign var='block' value=$blocks.mbMenu} |
---|
5 | {assign var='myblock' value=$blocks.mbCategories } |
---|
6 | {include file=$block->template|@get_extent:'mbMenu' } |
---|
7 | {/if} |
---|
8 | <div id="menubar"> |
---|
9 | <table id="table_menu" cellspacing="0" cellpadding="0" border="0" > |
---|
10 | <tr id="up"> |
---|
11 | <td class="mb_left"> </td> |
---|
12 | <td class="mb_middle"> </td> |
---|
13 | <td class="mb_right"> </td> |
---|
14 | </tr> |
---|
15 | {foreach from=$blocks key=id item=block} |
---|
16 | {if ( not empty($block->template) or not empty($block->raw_content) ) and $id != 'mbMenu'} |
---|
17 | <tr id="tr_{$id}" class="middle"> |
---|
18 | <td class="mb_left"> </td> |
---|
19 | <td class="mb_middle"> |
---|
20 | <dl id="{$id}"> |
---|
21 | {if not empty($block->template)} |
---|
22 | {include file=$block->template|@get_extent:$id } |
---|
23 | {else} |
---|
24 | {$block->raw_content|@default} |
---|
25 | {/if} |
---|
26 | </dl></td> |
---|
27 | <td class="mb_right"> </td> |
---|
28 | </tr> |
---|
29 | {/if} |
---|
30 | {/foreach} |
---|
31 | <tr id="bottom"> |
---|
32 | <td class="mb_left"> </td> |
---|
33 | <td class="mb_middle"> </td> |
---|
34 | <td class="mb_right"> </td> |
---|
35 | </tr> |
---|
36 | </table> |
---|
37 | </div> |
---|
38 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.