mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
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:
@@ -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 }
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user