mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 16:42:59 +02:00
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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user