Changeset 9912 for trunk/admin
- Timestamp:
- Mar 29, 2011, 11:46:33 AM (14 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/batch_manager.php
r9068 r9912 56 56 if (isset($_POST['filter_prefilter_use'])) 57 57 { 58 $prefilters = array('caddie', 'last import', 'with no album', 'with no tag', 'with no virtual album', 'duplicates' );58 $prefilters = array('caddie', 'last import', 'with no album', 'with no tag', 'with no virtual album', 'duplicates', 'all photos'); 59 59 if (in_array($_POST['filter_prefilter'], $prefilters)) 60 60 { … … 234 234 FROM '.IMAGES_TABLE.' 235 235 WHERE file IN (\''.implode("','", $duplicate_files).'\') 236 ;'; 237 238 array_push( 239 $filter_sets, 240 array_from_query($query, 'id') 241 ); 242 } 243 244 if ('all photos' == $_SESSION['bulk_manager_filter']['prefilter']) 245 { 246 $query = ' 247 SELECT id 248 FROM '.IMAGES_TABLE.' 236 249 ;'; 237 250 -
trunk/admin/themes/default/template/batch_manager_global.tpl
r9815 r9912 322 322 <option value="caddie" {if $filter.prefilter eq 'caddie'}selected="selected"{/if}>{'caddie'|@translate}</option> 323 323 <option value="last import" {if $filter.prefilter eq 'last import'}selected="selected"{/if}>{'last import'|@translate}</option> 324 <option value="with no album" {if $filter.prefilter eq 'with no album'}selected="selected"{/if}>{'with no album'|@translate}</option> -->324 <option value="with no album" {if $filter.prefilter eq 'with no album'}selected="selected"{/if}>{'with no album'|@translate}</option> 325 325 {if $ENABLE_SYNCHRONIZATION} 326 326 <option value="with no virtual album" {if $filter.prefilter eq 'with no virtual album'}selected="selected"{/if}>{'with no virtual album'|@translate}</option> … … 328 328 <option value="with no tag" {if $filter.prefilter eq 'with no tag'}selected="selected"{/if}>{'with no tag'|@translate}</option> 329 329 <option value="duplicates" {if $filter.prefilter eq 'duplicates'}selected="selected"{/if}>{'duplicates'|@translate}</option> 330 <option value="all photos" {if $filter.prefilter eq 'all photos'}selected="selected"{/if}>{'all photos'|@translate}</option> 330 331 </select> 331 332 </li>
Note: See TracChangeset
for help on using the changeset viewer.