Ignore:
Timestamp:
Apr 15, 2011, 2:08:56 PM (10 years ago)
Author:
patdenice
Message:

merge r10380 from trunk to branch 2.2
feature:2264
Modify triggers for prefilters: there is now two triggers.
Order prefilters by alphabetic order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin/themes/default/template/batch_manager_global.tpl

    r10355 r10381  
    331331        {'predefined filter'|@translate}
    332332        <select name="filter_prefilter">
    333           <option value="caddie" {if $filter.prefilter eq 'caddie'}selected="selected"{/if}>{'caddie'|@translate}</option>
    334           <option value="last import" {if $filter.prefilter eq 'last import'}selected="selected"{/if}>{'last import'|@translate}</option>
    335           <option value="with no album" {if $filter.prefilter eq 'with no album'}selected="selected"{/if}>{'with no album'|@translate}</option>
    336 {if $ENABLE_SYNCHRONIZATION}
    337           <option value="with no virtual album" {if $filter.prefilter eq 'with no virtual album'}selected="selected"{/if}>{'with no virtual album'|@translate}</option>
    338 {/if}
    339           <option value="with no tag" {if $filter.prefilter eq 'with no tag'}selected="selected"{/if}>{'with no tag'|@translate}</option>
    340           <option value="duplicates" {if $filter.prefilter eq 'duplicates'}selected="selected"{/if}>{'duplicates'|@translate}</option>
    341           <option value="all photos" {if $filter.prefilter eq 'all photos'}selected="selected"{/if}>{'All'|@translate}</option>
    342           {foreach from=$bulk_manager_plugins_prefilters item=plugin_prefilter}
    343           <option value="{$plugin_prefilter.ID}" {if $filter.prefilter eq $plugin_prefilter.ID}selected="selected"{/if}>{$plugin_prefilter.NAME}</option>
     333          {foreach from=$prefilters item=prefilter}
     334          <option value="{$prefilter.ID}" {if $filter.prefilter eq $prefilter.ID}selected="selected"{/if}>{$prefilter.NAME}</option>
    344335          {/foreach}
    345336        </select>
Note: See TracChangeset for help on using the changeset viewer.