Ignore:
Timestamp:
Dec 12, 2013, 2:41:53 PM (10 years ago)
Author:
mistic100
Message:

update for Piwigo 2.6 + code cleaning + fix unable to cancel set during generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/admin.php

    r17880 r25932  
    88include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
    99$page['tab'] = (isset($_GET['tab'])) ? $_GET['tab'] : 'sets';
    10  
     10
    1111$tabsheet = new tabsheet();
    1212$tabsheet->add('sets', l10n('Download history'), BATCH_DOWNLOAD_ADMIN . '-sets');
     
    1717if (!class_exists('ZipArchive'))
    1818{
    19   array_push($page['warnings'], l10n('Unable to find ZipArchive PHP extension, Batch Downloader will use PclZip instead, but with degraded performance.'));
     19  $page['warnings'][] = l10n('Unable to find ZipArchive PHP extension, Batch Downloader will use PclZip instead, but with degraded performance.');
    2020}
    2121
     
    2828  'BATCH_DOWNLOAD_ADMIN' => BATCH_DOWNLOAD_ADMIN,
    2929  ));
    30  
     30
    3131$template->assign_var_from_handle('ADMIN_CONTENT', 'batch_download');
    32 
    33 ?>
Note: See TracChangeset for help on using the changeset viewer.