source: branches/2.0/template/yoga/menubar.tpl @ 2703

Last change on this file since 2703 was 2702, checked in by patdenice, 16 years ago

Move filter button to menubar.tpl.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 807 bytes
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  {if $id == 'mbCategories'}
6    {if isset($U_START_FILTER)}
7    <a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
8    {/if}
9    {if isset($U_STOP_FILTER)}
10    <a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
11    {/if}
12  {/if}
13        <dl id="{$id}">
14                {if not empty($block->template)}
15                {include file=$block->template }
16                {else}
17                {$block->raw_content|@default}
18                {/if}
19        </dl>
20        {/if}
21        {/foreach}
22</div>
23{/if}
Note: See TracBrowser for help on using the repository browser.