Ignore:
Timestamp:
Oct 10, 2013, 1:07:45 PM (11 years ago)
Author:
mistic100
Message:

feature 2969: Unified Batch Manager URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r24526 r24834  
    113113      add_tags($tag_ids, $collection);
    114114
    115       if ('with no tag' == $page['prefilter'])
     115      if ('no_tag' == $page['prefilter'])
    116116      {
    117117        redirect($redirect_url);
     
    150150   
    151151    // let's refresh the page because we the current set might be modified
    152     if ('with no album' == $page['prefilter'])
     152    if ('no_album' == $page['prefilter'])
    153153    {
    154154      redirect($redirect_url);
    155155    }
    156156
    157     if ('with no virtual album' == $page['prefilter'])
     157    if ('no_virtual_album' == $page['prefilter'])
    158158    {
    159159      $category_info = get_cat_info($_POST['associate']);
     
    174174   
    175175    // let's refresh the page because we the current set might be modified
    176     if ('with no album' == $page['prefilter'])
     176    if ('no_album' == $page['prefilter'])
    177177    {
    178178      redirect($redirect_url);
    179179    }
    180180
    181     if ('with no virtual album' == $page['prefilter'])
     181    if ('no_virtual_album' == $page['prefilter'])
    182182    {
    183183      $category_info = get_cat_info($_POST['move']);
     
    436436  array('ID' => 'caddie', 'NAME' => l10n('Caddie')),
    437437  array('ID' => 'favorites', 'NAME' => l10n('Your favorites')),
    438   array('ID' => 'last import', 'NAME' => l10n('Last import')),
    439   array('ID' => 'with no album', 'NAME' => l10n('With no album')),
    440   array('ID' => 'with no tag', 'NAME' => l10n('With no tag')),
     438  array('ID' => 'last_import', 'NAME' => l10n('Last import')),
     439  array('ID' => 'no_album', 'NAME' => l10n('With no album')),
     440  array('ID' => 'no_tag', 'NAME' => l10n('With no tag')),
    441441  array('ID' => 'duplicates', 'NAME' => l10n('Duplicates')),
    442   array('ID' => 'all photos', 'NAME' => l10n('All'))
     442  array('ID' => 'all_photos', 'NAME' => l10n('All'))
    443443);
    444444
     
    446446{
    447447  array_push($prefilters,
    448     array('ID' => 'with no virtual album', 'NAME' => l10n('With no virtual album'))
     448    array('ID' => 'no_virtual_album', 'NAME' => l10n('With no virtual album'))
    449449  );
    450450}
     
    461461    'START' => $page['start'],
    462462    'U_DISPLAY'=>$base_url.get_query_string_diff(array('display')),
    463     'F_ACTION'=>$base_url.get_query_string_diff(array('cat','start','tag')),
     463    'F_ACTION'=>$base_url.get_query_string_diff(array('cat','start','tag','filter')),
    464464   )
    465465 );
Note: See TracChangeset for help on using the changeset viewer.