Ignore:
Timestamp:
Dec 31, 2010, 3:06:27 PM (10 years ago)
Author:
plg
Message:

Batch Manager:

  • add l0n to the new Batch Manager where is was missing
  • change photo "name" to photo "title"
  • change the way we display "Select all" and "Select the whole set"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager.php

    r8404 r8408  
    248248$page['cat_elements_id'] = $current_set;
    249249
    250 //  // To element_set_(global|unit).php, we must provide the elements id of the
    251 //  // managed category in $page['cat_elements_id'] array.
    252 //  $page['cat_elements_id'] = array();
    253 
    254 //  else if ('duplicates' == $_GET['cat'])
    255 //  {
    256 //    $page['title'] = l10n('Files with same name in more than one physical category');
    257 //    $template->assign(array('U_ACTIVE_MENU' => 5 ));
    258 // 
    259 //    // we are searching related elements twice or more to physical categories
    260 //    // 1 - Retrieve Files
    261 //    $query = '
    262 //  SELECT DISTINCT(file)
    263 //    FROM '.IMAGES_TABLE.'
    264 //   GROUP BY file
    265 //  HAVING COUNT(DISTINCT storage_category_id) > 1
    266 //  ;';
    267 // 
    268 //    $duplicate_files = array_from_query($query, 'file');
    269 //    $duplicate_files[]='Nofiles';
    270 //    // 2 - Retrives related picture ids
    271 //    $query = '
    272 //  SELECT id, file
    273 //    FROM '.IMAGES_TABLE.'
    274 //  WHERE file IN (\''.implode("','", $duplicate_files).'\')
    275 //  ORDER BY file, id
    276 //  ;';
    277 // 
    278 //    $page['cat_elements_id'] = array_from_query($query, 'id');
    279 //  }
    280 
    281250// +-----------------------------------------------------------------------+
    282251// |                       first element to display                        |
Note: See TracChangeset for help on using the changeset viewer.