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:
plegall 2011-02-01 12:41:40 +00:00
parent 4a955f7503
commit 92e85ae36a

View file

@ -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)
{