Line | |
---|
1 | {if !empty($blocks) } |
---|
2 | <div id="menubar"> |
---|
3 | {foreach from=$blocks key=id item=block} |
---|
4 | {if ( not empty($block->template) or not empty($block->raw_content) )} |
---|
5 | <table {if ($id=='mbMenu' or $id=='mbSpecials' or $id=='mbCategories' or $id=='mbIdentification' or $id=='mbLinks' or $id=='mbTags') }id="table_{$id}"{else}class="table_menu"{/if}" cellspacing="0" cellpadding="0"> |
---|
6 | <tr> |
---|
7 | <td class="blocmenu_up_left"> </td> |
---|
8 | <td class="blocmenu_up"> </td> |
---|
9 | <td class="blocmenu_up_right"> </td> |
---|
10 | </tr> |
---|
11 | <tr> |
---|
12 | <td class="blocmenu_left"> </td> |
---|
13 | <td class="blocmenu_in"> |
---|
14 | <dl> |
---|
15 | {if not empty($block->template)} |
---|
16 | {include file=$block->template|@get_extent:$id } |
---|
17 | {else} |
---|
18 | {$block->raw_content|@default} |
---|
19 | {/if} |
---|
20 | </dl> |
---|
21 | </td> |
---|
22 | <td class="blocmenu_right"> </td> |
---|
23 | </tr> |
---|
24 | <tr> |
---|
25 | <td class="blocmenu_bottom_left"> </td> |
---|
26 | <td class="blocmenu_bottom"> </td> |
---|
27 | <td class="blocmenu_bottom_right"> </td> |
---|
28 | </tr> |
---|
29 | </table> |
---|
30 | {/if} |
---|
31 | {/foreach} |
---|
32 | |
---|
33 | </div> |
---|
34 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.