source: extensions/floPure/2.0.x/menubar.tpl @ 7665

Last change on this file since 7665 was 5712, checked in by flop25, 15 years ago
File size: 1.1 KB
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">&nbsp;</td>
8      <td class="blocmenu_up">&nbsp;</td>
9      <td class="blocmenu_up_right">&nbsp;</td>
10    </tr>
11    <tr>
12      <td class="blocmenu_left">&nbsp;</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">&nbsp;</td>
23    </tr>
24    <tr>
25      <td class="blocmenu_bottom_left">&nbsp;</td>
26      <td class="blocmenu_bottom">&nbsp;</td>
27      <td class="blocmenu_bottom_right">&nbsp;</td>
28    </tr>
29  </table>
30        {/if}
31        {/foreach}
32
33</div>
34{/if}
Note: See TracBrowser for help on using the repository browser.