Changeset 23771 for extensions/BatchDownloader
- Timestamp:
- Jul 4, 2013, 7:29:34 PM (11 years ago)
- Location:
- extensions/BatchDownloader/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/BatchDownloader.class.php
r23591 r23771 457 457 458 458 $this->updateParam('date_creation', date('Y-m-d H:i:s')); 459 460 trigger_action('batchdownload_init_zip', $this->data, $this->images); 459 461 } 460 462 -
extensions/BatchDownloader/include/events.inc.php
r23760 r23771 89 89 $set = get_set_info_from_page(); 90 90 91 if ($set !== false )92 { 93 $BatchDownloader = new BatchDownloader('new', $ page['items'], $set['type'], $set['id'], $set['size']);91 if ($set !== false && count($set['items'])) 92 { 93 $BatchDownloader = new BatchDownloader('new', $set['items'], $set['type'], $set['id'], $set['size']); 94 94 95 95 if ($BatchDownloader->getParam('nb_images') != 0) -
extensions/BatchDownloader/include/functions.inc.php
r23321 r23771 63 63 } 64 64 65 returnarray(65 $set = array( 66 66 'type' => $batch_type, 67 67 'id' => $batch_id, 68 68 'size' => !empty($_GET['down_size']) ? $_GET['down_size'] : 'original', 69 'items' => $page['items'], 69 70 ); 71 72 return trigger_event('batchdownload_get_set_info', $set); 70 73 } 71 74
Note: See TracChangeset
for help on using the changeset viewer.