diff options
author | patdenice <patdenice@piwigo.org> | 2008-10-10 15:18:48 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2008-10-10 15:18:48 +0000 |
commit | 547a85d56bb4f3cc8f4412407054f2cd81e637e4 (patch) | |
tree | 6cf6764f41b88bde15eca2017bf98a2f7be4d69e /template/yoga/menubar.tpl | |
parent | adce496a004fd4c8fbc1a966dea16ee2dc08caf0 (diff) |
Move filter button to menubar.tpl.
git-svn-id: http://piwigo.org/svn/trunk@2702 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/menubar.tpl | 8 |
1 files changed, 8 insertions, 0 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 } |