Changeset 25932 for extensions/BatchDownloader/admin/template/config.tpl
- Timestamp:
- Dec 12, 2013, 2:41:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/admin/template/config.tpl
r25931 r25932 1 {combine_css path=$BATCH_DOWNLOAD_PATH| @cat:"admin/template/style.css"}1 {combine_css path=$BATCH_DOWNLOAD_PATH|cat:"admin/template/style.css"} 2 2 3 3 {combine_script id='jquery.ui.slider' require='jquery.ui' load='footer' path='themes/default/js/ui/jquery.ui.slider.js'} … … 51 51 $('input[name="multisize"]').on('change', function() { 52 52 if ($(this).val() == 'true') { 53 $('#multisize_title').text('{'Maximum photo size'| @translate|escape:javascript}');53 $('#multisize_title').text('{'Maximum photo size'|translate|escape:javascript}'); 54 54 } 55 55 else { 56 $('#multisize_title').text('{'Photo size'| @translate|escape:javascript}');56 $('#multisize_title').text('{'Photo size'|translate|escape:javascript}'); 57 57 } 58 58 }) … … 67 67 <form method="post" action="" class="properties"> 68 68 <fieldset> 69 <legend>{'Download permissions'| @translate}</legend>70 69 <legend>{'Download permissions'|translate}</legend> 70 71 71 <ul> 72 72 <li> 73 <i>{'Warning: Only registered users can use Batch Downloader.'| @translate}</i>73 <i>{'Warning: Only registered users can use Batch Downloader.'|translate}</i> 74 74 </li> 75 75 <li> 76 76 <label> 77 77 {if $group_options} 78 <b>{'User groups'| @translate}</b>79 <select name="groups[]" data-placeholder="{'Everybody'| @translate}" class="chzn-select" multiple="multiple" style="width:370px;">78 <b>{'User groups'|translate}</b> 79 <select name="groups[]" data-placeholder="{'Everybody'|translate}" class="chzn-select" multiple="multiple" style="width:370px;"> 80 80 {html_options options=$group_options selected=$batch_download.groups} 81 81 </select> 82 82 {else} 83 {'There is no group in this gallery.'| @translate} <a href="admin.php?page=group_list">{'Group management'|@translate}</a>83 {'There is no group in this gallery.'|translate} <a href="admin.php?page=group_list">{'Group management'|translate}</a> 84 84 {/if} 85 85 </label> … … 87 87 <li> 88 88 <label> 89 <b>{'Privacy level'| @translate}</b>89 <b>{'Privacy level'|translate}</b> 90 90 <select name="level"> 91 91 {html_options options=$level_options selected=$batch_download.level} … … 94 94 </li> 95 95 <li> 96 <b>{'What can be downloaded?'| @translate}</b>97 <label><input type="checkbox" name="what[categories]" {if in_array('categories',$batch_download.what)}checked="checked"{/if}/> {'Albums'| @translate}</label>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}99 <label><input type="checkbox" name="what[specials]" {if in_array('specials',$batch_download.what)}checked="checked"{/if}/> {'Specials'| @translate}</label>100 <a class="icon-info-circled-1 showInfo" title="{'Most visited'| @translate}, {'Random photos'|@translate}, {'Best rated'|@translate}..."></a>96 <b>{'What can be downloaded?'|translate}</b> 97 <label><input type="checkbox" name="what[categories]" {if in_array('categories',$batch_download.what)}checked="checked"{/if}/> {'Albums'|translate}</label> 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} 99 <label><input type="checkbox" name="what[specials]" {if in_array('specials',$batch_download.what)}checked="checked"{/if}/> {'Specials'|translate}</label> 100 <a class="icon-info-circled-1 showInfo" title="{'Most visited'|translate}, {'Random photos'|translate}, {'Best rated'|translate}..."></a> 101 101 </li> 102 102 <li> … … 106 106 107 107 <label> 108 <b id="multisize_title">{'Maximum photo size'| @translate}</b>108 <b id="multisize_title">{'Maximum photo size'|translate}</b> 109 109 <select name="photo_size"> 110 110 {html_options options=$sizes_options selected=$batch_download.photo_size} … … 116 116 117 117 <fieldset> 118 <legend>{'Archives'| @translate}</legend>119 118 <legend>{'Archives'|translate}</legend> 119 120 120 <ul> 121 121 <li> 122 122 <label> 123 <b>{'Delete downloads after'| @translate}</b>124 <input type="text" name="archive_timeout" value="{$batch_download.archive_timeout}" size="3"> {'hours'| @translate}125 </label> 126 </li> 127 <li> 128 <label> 129 <b>{'Maximum number of photos per download set'| @translate}</b>123 <b>{'Delete downloads after'|translate}</b> 124 <input type="text" name="archive_timeout" value="{$batch_download.archive_timeout}" size="3"> {'hours'|translate} 125 </label> 126 </li> 127 <li> 128 <label> 129 <b>{'Maximum number of photos per download set'|translate}</b> 130 130 <div id="max_elements"></div> 131 131 <input type="text" name="max_elements" value="{$batch_download.max_elements}" size="5"> … … 134 134 <li> 135 135 <label> 136 <b>{'Maximum size of each archive (in Megabytes)'| @translate}</b>136 <b>{'Maximum size of each archive (in Megabytes)'|translate}</b> 137 137 <div id="max_size"></div> 138 138 <input type="text" name="max_size" value="{$batch_download.max_size}" size="5"> … … 141 141 <li> 142 142 <label> 143 <b>{'Archive prefix'| @translate}</b>143 <b>{'Archive prefix'|translate}</b> 144 144 <input type="text" name="archive_prefix" value="{$batch_download.archive_prefix}"> 145 145 </label> … … 148 148 <label> 149 149 <input type="checkbox" name="one_archive" {if $batch_download.one_archive}checked{/if}> 150 <b>{'Delete previous archive when starting to download another one'| @translate}</b>151 </label> 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>150 <b>{'Delete previous archive when starting to download another one'|translate}</b> 151 </label> 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> 153 153 </li> 154 154 <li> 155 155 <label> 156 156 <input type="checkbox" name="force_pclzip" {if $batch_download.force_pclzip}checked{/if}> 157 <b>{'Force the usage of PclZip instead of ZipArchive as ZIP library'| @translate}</b>158 </label> 159 <a class="icon-info-circled-1 showInfo" title="{'Only check if you are experiencing corrupted archives with ZipArchive.'| @translate}"></a>157 <b>{'Force the usage of PclZip instead of ZipArchive as ZIP library'|translate}</b> 158 </label> 159 <a class="icon-info-circled-1 showInfo" title="{'Only check if you are experiencing corrupted archives with ZipArchive.'|translate}"></a> 160 160 </li> 161 161 <li> 162 162 <label> 163 163 <input type="checkbox" name="direct" {if $batch_download.direct}checked{/if}> 164 <b>{'Don\'t download archives through PHP'| @translate}</b>165 </label> 166 <a class="icon-info-circled-1 showInfo" title="{'Only check if your host complains about high PHP usage.'| @translate}"></a>164 <b>{'Don\'t download archives through PHP'|translate}</b> 165 </label> 166 <a class="icon-info-circled-1 showInfo" title="{'Only check if your host complains about high PHP usage.'|translate}"></a> 167 167 </li> 168 168 {if $use_ziparchive} 169 169 <li> 170 170 <label> 171 <b>{'Archive comment'| @translate} :</b><br>171 <b>{'Archive comment'|translate} :</b><br> 172 172 <textarea name="archive_comment" rows="5" style="width:450px;">{$batch_download_comment}</textarea> 173 173 </label> 174 174 <br> 175 <i>{'Warning: ZipArchive doesn\'t accept special characters like accentuated ones, angle quotes (») and non-latin alphabets.'| @translate}</i>175 <i>{'Warning: ZipArchive doesn\'t accept special characters like accentuated ones, angle quotes (») and non-latin alphabets.'|translate}</i> 176 176 </li> 177 177 {else} … … 181 181 </fieldset> 182 182 183 <p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'| @translate}"></p>184 185 <fieldset> 186 <legend>{'Environment'| @translate}</legend>187 183 <p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p> 184 185 <fieldset> 186 <legend>{'Environment'|translate}</legend> 187 188 188 <b>PHP</b> {$PHP_VERSION}<br> 189 189 {if $use_ziparchive} … … 195 195 196 196 <fieldset> 197 <legend>{'Advanced features'| @translate}</legend>198 197 <legend>{'Advanced features'|translate}</legend> 198 199 199 <dl class="advanced" style="display:none;"> 200 200 {$ADVANCED_CONF} 201 201 </dl> 202 203 <span class="show_advanced buttonLike">{'Display'| @translate}</span>202 203 <span class="show_advanced buttonLike">{'Display'|translate}</span> 204 204 </fieldset> 205 205
Note: See TracChangeset
for help on using the changeset viewer.