Changeset 16689 for extensions/BatchDownloader/admin/config.php
- Timestamp:
- Jul 13, 2012, 12:12:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/admin/config.php
r16392 r16689 9 9 'photo_size' => $_POST['photo_size'], 10 10 'archive_prefix' => trim($_POST['archive_prefix']), 11 'archive_comment' => trim($_POST['archive_comment']),12 11 'archive_timeout' => intval($_POST['archive_timeout']), 13 12 'max_elements' => intval($_POST['max_elements']), … … 15 14 'last_clean' => $conf['batch_download']['last_clean'], 16 15 ); 16 $conf['batch_download_comment'] = trim($_POST['archive_comment']); 17 17 18 18 conf_update_param('batch_download', serialize($conf['batch_download'])); 19 conf_update_param('batch_download_comment', $conf['batch_download_comment']); 19 20 } 20 21 … … 43 44 // max values 44 45 $conf['batch_download']['max_elements_value'] = isset($conf['batch_download_max_elements']) ? $conf['batch_download_max_elements'] : 1000; 45 $conf['batch_download']['max_size_value'] = isset($conf['batch_download_max_size']) ? $conf['batch_download_max_size'] : 1000;46 $conf['batch_download']['max_size_value'] = isset($conf['batch_download_max_size']) ? $conf['batch_download_max_size'] : 500; 46 47 47 48 $template->assign(array( … … 50 51 'sizes_options' => $sizes_options, 51 52 'batch_download' => $conf['batch_download'], 53 'batch_download_comment' => stripslashes($conf['batch_download_comment']), 52 54 )); 53 55
Note: See TracChangeset
for help on using the changeset viewer.