Changeset 2702

Show
Ignore:
Timestamp:
10/10/08 17:18:48 (5 years ago)
Author:
patdenice
Message:

Move filter button to menubar.tpl.

Location:
trunk/template/yoga
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/menubar.tpl

    r2488 r2702  
    33        {foreach from=$blocks key=id item=block} 
    44        {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} 
    513        <dl id="{$id}"> 
    614                {if not empty($block->template)} 
  • trunk/template/yoga/menubar_categories.tpl

    r2656 r2702  
    11<dt> 
    2   {if isset($U_START_FILTER)} 
    3   <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> 
    4   {/if} 
    5   {if isset($U_STOP_FILTER)} 
    6   <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> 
    7   {/if} 
    82        <a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a> 
    93</dt>