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"


git-svn-id: http://piwigo.org/svn/trunk@8408 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2010-12-31 14:06:27 +00:00
commit d7c3c65cd4
5 changed files with 105 additions and 73 deletions

View file

@ -247,37 +247,6 @@ foreach ($filter_sets as $set)
}
$page['cat_elements_id'] = $current_set;
// // To element_set_(global|unit).php, we must provide the elements id of the
// // managed category in $page['cat_elements_id'] array.
// $page['cat_elements_id'] = array();
// else if ('duplicates' == $_GET['cat'])
// {
// $page['title'] = l10n('Files with same name in more than one physical category');
// $template->assign(array('U_ACTIVE_MENU' => 5 ));
//
// // we are searching related elements twice or more to physical categories
// // 1 - Retrieve Files
// $query = '
// SELECT DISTINCT(file)
// FROM '.IMAGES_TABLE.'
// GROUP BY file
// HAVING COUNT(DISTINCT storage_category_id) > 1
// ;';
//
// $duplicate_files = array_from_query($query, 'file');
// $duplicate_files[]='Nofiles';
// // 2 - Retrives related picture ids
// $query = '
// SELECT id, file
// FROM '.IMAGES_TABLE.'
// WHERE file IN (\''.implode("','", $duplicate_files).'\')
// ORDER BY file, id
// ;';
//
// $page['cat_elements_id'] = array_from_query($query, 'id');
// }
// +-----------------------------------------------------------------------+
// | first element to display |
// +-----------------------------------------------------------------------+