aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-04-15 12:08:56 +0000
committerpatdenice <patdenice@piwigo.org>2011-04-15 12:08:56 +0000
commitb3e98a2dd271a8abfec866ad04eeb3b27850f4a6 (patch)
tree804102ab07f303ac98a958ec01e1f369af5661a3 /admin/themes/default
parent7a2bc12900d8e6d0748c5b28a03c8a2ca7314157 (diff)
merge r10380 from trunk to branch 2.2
feature:2264 Modify triggers for prefilters: there is now two triggers. Order prefilters by alphabetic order. git-svn-id: http://piwigo.org/svn/branches/2.2@10381 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/batch_manager_global.tpl13
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>