Changeset 23288
- Timestamp:
- Jun 17, 2013, 12:04:35 PM (11 years ago)
- Location:
- extensions/BatchDownloader
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/admin/config.php
r21422 r23288 60 60 'use_ziparchive' => class_exists('ZipArchive') && !isset($conf['batch_downloader_force_pclzip']), 61 61 'PHP_VERSION' => PHP_VERSION, 62 'ADVANCED_CONF' => load_language('advanced.html', BATCH_DOWNLOAD_PATH, array('return'=>true)) 62 63 )); 63 64 -
extensions/BatchDownloader/admin/template/config.tpl
r21422 r23288 31 31 } 32 32 }); 33 $("input[name='max_elements']").change(function() {ldelim} 33 {literal} 34 $("input[name='max_elements']").change(function() { 34 35 $("#max_elements").slider("value", $(this).val()); 35 36 }); 36 37 37 jQuery(".showInfo").tipTip({ ldelim}38 jQuery(".showInfo").tipTip({ 38 39 delay: 0, 39 40 fadeIn: 200, … … 42 43 defaultPosition: 'bottom' 43 44 }); 44 {/footer_script} 45 46 $(".show_advanced").click(function() { 47 $(this).slideUp(); 48 $(".advanced").slideDown(); 49 }); 50 {/literal}{/footer_script} 45 51 46 52 <div class="titrePage"> … … 152 158 {/if} 153 159 </fieldset> 160 161 <fieldset> 162 <legend>{'Advanced features'|@translate}</legend> 154 163 164 <dl class="advanced" style="display:none;"> 165 {$ADVANCED_CONF} 166 </dl> 167 168 <span class="show_advanced buttonLike">{'Display'|@translate}</span> 169 </fieldset> 170 155 171 </form> -
extensions/BatchDownloader/admin/template/style.css
r21422 r23288 57 57 font-size:0.8em; 58 58 } 59 60 .advanced span { 61 font-family: 'Courrier New',monospace; 62 font-size: 11pt; 63 font-style:normal; 64 } 65 .advanced dd:not(:last-child) { 66 margin-bottom:1em; 67 } -
extensions/BatchDownloader/main.inc.php
r23280 r23288 8 8 Author URI: http://www.strangeplanet.fr 9 9 */ 10 11 /*12 * advanced config:13 * $conf['batch_download_max_elements'] max value of the elements slider (default 1000)14 * $conf['batch_download_max_size'] max value of the size slider (default 500)15 * $conf['batch_download_force_pclzip'] if true, force the usage of PclZip instead of ZipArchive16 * $conf['batch_download_direct'] if true, the download script will redirect to the zip instead of deliver it through PHP17 * $conf['batch_download_additional_ext'] array containing downloadable filetypes (case sensitive), default is $conf['picture_ext']18 */19 10 20 11 defined('PHPWG_ROOT_PATH') or die('Hacking attempt!');
Note: See TracChangeset
for help on using the changeset viewer.