aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-10 15:18:48 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-10 15:18:48 +0000
commit547a85d56bb4f3cc8f4412407054f2cd81e637e4 (patch)
tree6cf6764f41b88bde15eca2017bf98a2f7be4d69e /template/yoga
parentadce496a004fd4c8fbc1a966dea16ee2dc08caf0 (diff)
Move filter button to menubar.tpl.
git-svn-id: http://piwigo.org/svn/trunk@2702 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/menubar.tpl8
-rw-r--r--template/yoga/menubar_categories.tpl6
2 files changed, 8 insertions, 6 deletions
diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl
index 73259376e..169d2a6b1 100644
--- a/template/yoga/menubar.tpl
+++ b/template/yoga/menubar.tpl
@@ -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 }
diff --git a/template/yoga/menubar_categories.tpl b/template/yoga/menubar_categories.tpl
index 9986f7dd5..1c75678e2 100644
--- a/template/yoga/menubar_categories.tpl
+++ b/template/yoga/menubar_categories.tpl
@@ -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>