Changeset 9035 for trunk


Ignore:
Timestamp:
Feb 1, 2011, 1:41:40 PM (14 years ago)
Author:
plg
Message:

bug 2168 fixed: Batch Manager, ability to remove author/title/date creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r8756 r9035  
    211211  if ('author' == $action)
    212212  {
     213    if (isset($_POST['remove_author']))
     214    {
     215      $_POST['author'] = null;
     216    }
     217   
    213218    $datas = array();
    214219    foreach ($collection as $image_id)
     
    233238  if ('title' == $action)
    234239  {
     240    if (isset($_POST['remove_title']))
     241    {
     242      $_POST['title'] = null;
     243    }
     244   
    235245    $datas = array();
    236246    foreach ($collection as $image_id)
     
    261271      $_POST['date_creation_day']
    262272      );
     273
     274    if (isset($_POST['remove_date_creation']))
     275    {
     276      $date_creation = null;
     277    }
    263278
    264279    $datas = array();
Note: See TracChangeset for help on using the changeset viewer.