Changeset 25931 for extensions/BatchDownloader/admin
- Timestamp:
- Dec 12, 2013, 2:12:13 PM (10 years ago)
- Location:
- extensions/BatchDownloader/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/admin/config.php
r23383 r25931 11 11 'what' => isset($_POST['what']) ? array_keys($_POST['what']) : array(), 12 12 'photo_size' => $_POST['photo_size'], 13 'multisize' => $_POST['multisize'] == 'true', 13 14 'archive_prefix' => trim($_POST['archive_prefix']), 14 15 'archive_timeout' => intval($_POST['archive_timeout']), -
extensions/BatchDownloader/admin/template/config.tpl
r23383 r25931 31 31 } 32 32 }); 33 {literal} 33 34 34 $("input[name='max_elements']").change(function() { 35 35 $("#max_elements").slider("value", $(this).val()); … … 48 48 $(".advanced").slideDown(); 49 49 }); 50 {/literal}{/footer_script} 50 51 $('input[name="multisize"]').on('change', function() { 52 if ($(this).val() == 'true') { 53 $('#multisize_title').text('{'Maximum photo size'|@translate|escape:javascript}'); 54 } 55 else { 56 $('#multisize_title').text('{'Photo size'|@translate|escape:javascript}'); 57 } 58 }) 59 .filter(':checked').trigger('change'); 60 {/footer_script} 61 51 62 52 63 <div class="titrePage"> … … 59 70 60 71 <ul> 72 <li> 73 <i>{'Warning: Only registered users can use Batch Downloader.'|@translate}</i> 74 </li> 61 75 <li> 62 76 <label> … … 80 94 </li> 81 95 <li> 82 <i>{'Warning: Only registered users can use Batch Downloader.'|@translate}</i>83 </li>84 <li>85 96 <b>{'What can be downloaded?'|@translate}</b> 86 97 <label><input type="checkbox" name="what[categories]" {if in_array('categories',$batch_download.what)}checked="checked"{/if}/> {'Albums'|@translate}</label> 87 98 {if $USER_COLLEC_LOADED}<label><input type="checkbox" name="what[collections]" {if in_array('collections',$batch_download.what)}checked="checked"{/if}/> {'Collections'|@translate}</label>{/if} 88 99 <label><input type="checkbox" name="what[specials]" {if in_array('specials',$batch_download.what)}checked="checked"{/if}/> {'Specials'|@translate}</label> 89 <a class="showInfo" title="{'Most visited'|@translate}, {'Random photos'|@translate}, {'Best rated'|@translate}...">i</a> 90 </li> 91 <li> 92 <label> 93 <b>{'Maximum photo size'|@translate}</b> 100 <a class="icon-info-circled-1 showInfo" title="{'Most visited'|@translate}, {'Random photos'|@translate}, {'Best rated'|@translate}..."></a> 101 </li> 102 <li> 103 <b>{'Photo size choices'|translate}</b> 104 <label><input type="radio" name="multisize" value="true" {if $batch_download.multisize}checked{/if}> {'Any size'|translate}</label> 105 <label><input type="radio" name="multisize" value="false" {if !$batch_download.multisize}checked{/if}> {'One size'|translate}</label> 106 107 <label> 108 <b id="multisize_title">{'Maximum photo size'|@translate}</b> 94 109 <select name="photo_size"> 95 110 {html_options options=$sizes_options selected=$batch_download.photo_size} … … 135 150 <b>{'Delete previous archive when starting to download another one'|@translate}</b> 136 151 </label> 137 <a class=" showInfo" title="{'It saves space on the server but doesn\'t allow to restart failed downloads.'|@translate}">i</a>152 <a class="icon-info-circled-1 showInfo" title="{'It saves space on the server but doesn\'t allow to restart failed downloads.'|@translate}"></a> 138 153 </li> 139 154 <li> … … 142 157 <b>{'Force the usage of PclZip instead of ZipArchive as ZIP library'|@translate}</b> 143 158 </label> 144 <a class=" showInfo" title="{'Only check if you are experiencing corrupted archives with ZipArchive.'|@translate}">i</a>159 <a class="icon-info-circled-1 showInfo" title="{'Only check if you are experiencing corrupted archives with ZipArchive.'|@translate}"></a> 145 160 </li> 146 161 <li> … … 149 164 <b>{'Don\'t download archives through PHP'|@translate}</b> 150 165 </label> 151 <a class=" showInfo" title="{'Only check if your host complains about high PHP usage.'|@translate}">i</a>166 <a class="icon-info-circled-1 showInfo" title="{'Only check if your host complains about high PHP usage.'|@translate}"></a> 152 167 </li> 153 168 {if $use_ziparchive} -
extensions/BatchDownloader/admin/template/style.css
r23383 r25931 47 47 } 48 48 49 .showInfo {50 position:static;51 display:inline-block;52 padding:1px 6px;53 width:4px;54 height:14px;55 line-height:14px;56 font-size:0.8em;57 }58 59 49 .advanced span { 60 50 font-family: 'Courrier New',monospace;
Note: See TracChangeset
for help on using the changeset viewer.