Changeset 11966 for trunk/admin/themes/default/template
- Timestamp:
- Aug 18, 2011, 5:19:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/photos_add_direct.tpl
r11962 r11966 143 143 }); 144 144 145 jQuery("#uploadWarningsSummary a.showInfo").click(function() { 146 jQuery("#uploadWarningsSummary").hide(); 147 jQuery("#uploadWarnings").show(); 148 }); 149 145 150 {/literal} 146 151 {if $upload_mode eq 'html'} … … 187 192 'fileExt' : '*.jpg;*.JPG;*.jpeg;*.JPEG;*.png;*.PNG', 188 193 'sizeLimit' : sizeLimit, 194 'onSelect' : function(event,ID,fileObj) { 195 jQuery("#fileQueue").show(); 196 }, 189 197 'onAllComplete' : function(event, data) { 190 198 if (data.errors) { … … 338 346 <p id="batchLink"><a href="{$batch_link}">{$batch_label}</a></p> 339 347 </fieldset> 340 <p ><a href="{$another_upload_link}">{'Add another set of photos'|@translate}</a></p>348 <p style="margin:10px"><a href="{$another_upload_link}">{'Add another set of photos'|@translate}</a></p> 341 349 {else} 342 350 … … 389 397 <legend>{'Select files'|@translate}</legend> 390 398 399 <p id="uploadWarningsSummary">{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx{/if} <a class="showInfo" title="{'Learn more'|@translate}">i</a></p> 400 401 <p id="uploadWarnings"> 402 {'Maximum file size: %sB.'|@translate|@sprintf:$upload_max_filesize_shorthand} 403 {'Allowed file types: %s.'|@translate|@sprintf:$upload_file_types} 404 {if isset($max_upload_resolution)} 405 {'Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'|@translate|@sprintf:$max_upload_resolution:$max_upload_width:$max_upload_height} 406 {/if} 407 </p> 408 391 409 {if $upload_mode eq 'html'} 392 <p><a href="{$switch_url}">{'... or switch to the multiple files form'|@translate}</a></p>393 394 <p>{'JPEG files or ZIP archives with JPEG files inside please.'|@translate}</p>395 396 410 <div id="uploadBoxes"></div> 397 411 <div id="addUploadBox"> 398 412 <a href="javascript:">{'+ Add an upload box'|@translate}</a> 399 413 </div> 414 415 <p id="uploadModeInfos">{'You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.'|@translate|@sprintf:$switch_url}</p> 400 416 401 417 </fieldset> 402 418 403 419 <p> 404 <input class="submit" type="submit" name="submit_upload" value="{' Upload'|@translate}">420 <input class="submit" type="submit" name="submit_upload" value="{'Start Upload'|@translate}"> 405 421 </p> 406 422 {elseif $upload_mode eq 'multiple'} 423 407 424 <p> 408 425 <input type="file" name="uploadify" id="uploadify"> 409 426 </p> 410 427 411 < p><a href="{$switch_url}">{'... or switch to the old style form'|@translate}</a></p>412 413 < div id="fileQueue"></div>428 <div id="fileQueue" style="display:none"></div> 429 430 <p id="uploadModeInfos">{'You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.'|@translate|@sprintf:$switch_url}</p> 414 431 415 432 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.