From 92e85ae36a562f87e4d904af1ea038d0be599a80 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 1 Feb 2011 12:41:40 +0000 Subject: bug 2168 fixed: Batch Manager, ability to remove author/title/date creation git-svn-id: http://piwigo.org/svn/trunk@9035 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager_global.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'admin/batch_manager_global.php') diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index 6eb7150ac..80bd4b250 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -210,6 +210,11 @@ DELETE // author if ('author' == $action) { + if (isset($_POST['remove_author'])) + { + $_POST['author'] = null; + } + $datas = array(); foreach ($collection as $image_id) { @@ -232,6 +237,11 @@ DELETE // title if ('title' == $action) { + if (isset($_POST['remove_title'])) + { + $_POST['title'] = null; + } + $datas = array(); foreach ($collection as $image_id) { @@ -261,6 +271,11 @@ DELETE $_POST['date_creation_day'] ); + if (isset($_POST['remove_date_creation'])) + { + $date_creation = null; + } + $datas = array(); foreach ($collection as $image_id) { -- cgit v1.2.3