From bea45c89b62c779dd56383e82b0fbb9bd76696df Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 10 Feb 2012 10:52:07 +0000 Subject: feature 2564: redesign on photo administration screen. * one screen with several tabs (for now: properties + coi) * double select boxes for album associations and representation have been converted to simple multiple select boxes with jQuery Chosen * more details about the photo in an introduction text git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager_global.php | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'admin/batch_manager_global.php') diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index a568cff96..a7c1a3284 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -179,20 +179,7 @@ DELETE if ('move' == $action) { - // let's first break links with all albums but their "storage album" - $query = ' -DELETE '.IMAGE_CATEGORY_TABLE.'.* - FROM '.IMAGE_CATEGORY_TABLE.' - JOIN '.IMAGES_TABLE.' ON image_id=id - WHERE id IN ('.implode(',', $collection).') - AND (storage_category_id IS NULL OR storage_category_id != category_id) -;'; - pwg_query($query); - - associate_images_to_categories( - $collection, - array($_POST['move']) - ); + move_images_to_categories($collection, array($_POST['move'])); $_SESSION['page_infos'] = array( l10n('Information data registered in database') @@ -786,9 +773,7 @@ SELECT id,path,representative_ext,file,filesize,level,name 'TITLE' => $title, 'LEVEL' => $row['level'], 'FILE_SRC' => $row['path'], - 'U_EDIT' => - PHPWG_ROOT_PATH.'admin.php?page=picture_modify'. - '&image_id='.$row['id'], + 'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'], ) ); } -- cgit v1.2.3