aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-11 10:17:25 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-11 10:17:25 +0000
commit9d88e93a99a9e291b5eb4e7b5d768770f662a19e (patch)
tree7d48f0124a6ed30f3684216003e799dae7d43dd1 /template/yoga
parentec0c7ad7d59ea7d52f9cff83e314e7b0e246e992 (diff)
- Move filter button back to menubar_categories.tpl.
- Add dutch plugins language. git-svn-id: http://piwigo.org/svn/trunk@2710 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar.tpl8
-rw-r--r--template/yoga/menubar_categories.tpl7
2 files changed, 6 insertions, 9 deletions
diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl
index 169d2a6b1..73259376e 100644
--- a/template/yoga/menubar.tpl
+++ b/template/yoga/menubar.tpl
@@ -2,14 +2,6 @@
<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 1c75678e2..221a6d709 100644
--- a/template/yoga/menubar_categories.tpl
+++ b/template/yoga/menubar_categories.tpl
@@ -1,4 +1,10 @@
<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>
@@ -12,4 +18,3 @@
{/if}
<p class="totalImages">{$pwg->l10n_dec('%d element', '%d elements', $block->data.NB_PICTURE)}</p>
</dd>
-