diff options
author | patdenice <patdenice@piwigo.org> | 2011-04-15 12:06:55 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-04-15 12:06:55 +0000 |
commit | 22fd670ad5293d457df12b489b5730388a04a35e (patch) | |
tree | fce50d69a11d0eadcb8676458f4a5bad07487e62 /admin/themes/default | |
parent | fda50a256ba37648c661922735226d319dcc1750 (diff) |
feature:2264
Modify triggers for prefilters: there is now two triggers.
Order prefilters by alphabetic order.
git-svn-id: http://piwigo.org/svn/trunk@10380 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/template/batch_manager_global.tpl | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index 5c54eec1b..cce2b74c8 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -330,17 +330,8 @@ jQuery(window).load(function() { <input type="checkbox" name="filter_prefilter_use" class="useFilterCheckbox" {if isset($filter.prefilter)}checked="checked"{/if}> {'predefined filter'|@translate} <select name="filter_prefilter"> - <option value="caddie" {if $filter.prefilter eq 'caddie'}selected="selected"{/if}>{'caddie'|@translate}</option> - <option value="last import" {if $filter.prefilter eq 'last import'}selected="selected"{/if}>{'last import'|@translate}</option> - <option value="with no album" {if $filter.prefilter eq 'with no album'}selected="selected"{/if}>{'with no album'|@translate}</option> -{if $ENABLE_SYNCHRONIZATION} - <option value="with no virtual album" {if $filter.prefilter eq 'with no virtual album'}selected="selected"{/if}>{'with no virtual album'|@translate}</option> -{/if} - <option value="with no tag" {if $filter.prefilter eq 'with no tag'}selected="selected"{/if}>{'with no tag'|@translate}</option> - <option value="duplicates" {if $filter.prefilter eq 'duplicates'}selected="selected"{/if}>{'duplicates'|@translate}</option> - <option value="all photos" {if $filter.prefilter eq 'all photos'}selected="selected"{/if}>{'All'|@translate}</option> - {foreach from=$bulk_manager_plugins_prefilters item=plugin_prefilter} - <option value="{$plugin_prefilter.ID}" {if $filter.prefilter eq $plugin_prefilter.ID}selected="selected"{/if}>{$plugin_prefilter.NAME}</option> + {foreach from=$prefilters item=prefilter} + <option value="{$prefilter.ID}" {if $filter.prefilter eq $prefilter.ID}selected="selected"{/if}>{$prefilter.NAME}</option> {/foreach} </select> </li> |