Changeset 8417 for trunk


Ignore:
Timestamp:
Dec 31, 2010, 4:19:11 PM (10 years ago)
Author:
plg
Message:

feature 2089: finish removing element_set, now it's time for batch_manager

Location:
trunk/admin
Files:
5 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r8413 r8417  
    4343trigger_action('loc_begin_element_set_global');
    4444
    45 // the $_POST['selection'] was already checked in element_set.php
    4645check_input_parameter('del_tags', $_POST, true, PATTERN_ID);
    4746check_input_parameter('associate', $_POST, false, PATTERN_ID);
  • trunk/admin/cat_list.php

    r8168 r8417  
    312312  {
    313313    $tpl_cat['U_MANAGE_ELEMENTS']=
    314       $base_url.'element_set&cat='.$category['id'];
     314      $base_url.'batch_manager&cat='.$category['id'];
    315315  }
    316316
  • trunk/admin/cat_modify.php

    r7024 r8417  
    279279  $template->assign(
    280280    'U_MANAGE_ELEMENTS',
    281     $base_url.'element_set&cat='.$category['id']
     281    $base_url.'batch_manager&cat='.$category['id']
    282282    );
    283283  $template->assign(
  • trunk/admin/include/functions.php

    r8265 r8417  
    19821982  }
    19831983
    1984   // specific cases
    1985   if ('element_set' == $menu_page)
    1986   {
    1987     if (isset($_GET['cat']) and is_numeric($_GET['cat']))
    1988     {
    1989       return 1;
    1990     }
    1991     else
    1992     {
    1993       return 0;
    1994     }
    1995   }
    1996 
    19971984  switch ($menu_page)
    19981985  {
     
    20021989    case 'tags':
    20031990    case 'picture_modify':
     1991    case 'batch_manager':
    20041992      return 0;
    20051993
  • trunk/admin/photos_add_direct.php

    r6993 r8417  
    5656    );
    5757
    58   redirect(get_root_url().'admin.php?page=element_set&cat=caddie');
     58  redirect(get_root_url().'admin.php?page=batch_manager&cat=caddie');
    5959}
    6060
     
    295295    // compute a temporary name from filename) that would be also used in
    296296    // picture.php. UPDATE: in fact, "get_name_from_file($file)" already
    297     // exists and is used twice (element_set_unit + comments, but not in
     297    // exists and is used twice (batch_manager_unit + comments, but not in
    298298    // picture.php I don't know why) with the same pattern if
    299299    // (empty($name)) {$name = get_name_from_file($file)}, a clean
Note: See TracChangeset for help on using the changeset viewer.