aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/menubar.tpl
blob: 169d2a6b15a63b5e77f38d55c51fb44e01da6a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{if !empty($blocks) }
<div id="menubar">
	{foreach from=$blocks key=id item=block}
	{if ( not empty($block->template) or not empty($block->raw_content) )}
  {if $id == 'mbCategories'}
    {if isset($U_START_FILTER)}
    <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>
    {/if}
    {if isset($U_STOP_FILTER)}
    <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>
    {/if}
  {/if}
	<dl id="{$id}">
		{if not empty($block->template)}
		{include file=$block->template }
		{else}
		{$block->raw_content|@default}
		{/if}
	</dl>
	{/if}
	{/foreach}
</div>
{/if}