aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-02-01 12:41:40 +0000
committerplegall <plg@piwigo.org>2011-02-01 12:41:40 +0000
commit92e85ae36a562f87e4d904af1ea038d0be599a80 (patch)
treee59b610f17654939ee58693f7d75c75f12bed283
parent4a955f75036eec8cf63cbd13d967e22795899ceb (diff)
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
Diffstat (limited to '')
-rw-r--r--admin/batch_manager_global.php15
1 files changed, 15 insertions, 0 deletions
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)
{