diff options
author | patdenice <patdenice@piwigo.org> | 2008-10-11 10:21:33 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2008-10-11 10:21:33 +0000 |
commit | f2b0b09a0a6e4ee442325953c534bfffe185d981 (patch) | |
tree | 7d48f0124a6ed30f3684216003e799dae7d43dd1 /template/yoga | |
parent | df412b0a01ba0b78a4ec2adbff4f73cad6f1bb64 (diff) |
Merge from 2710:
- Move filter button back to menubar_categories.tpl.
- Add dutch plugins language.
git-svn-id: http://piwigo.org/svn/branches/2.0@2711 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/menubar.tpl | 8 | ||||
-rw-r--r-- | template/yoga/menubar_categories.tpl | 7 |
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> - |