Move filter button to menubar.tpl.

git-svn-id: http://piwigo.org/svn/trunk@2702 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2008-10-10 15:18:48 +00:00
parent adce496a00
commit 547a85d56b
2 changed files with 8 additions and 6 deletions
+8
View File
@@ -2,6 +2,14 @@
<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 }
-6
View File
@@ -1,10 +1,4 @@
<dt>
{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}
<a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a>
</dt>
<dd>