source: extensions/BatchDownloader/template/init_zip.tpl @ 16609

Last change on this file since 16609 was 16609, checked in by mistic100, 12 years ago

-add complete breadcrumb
-AJAX for remove photos (more faster)
-use try/catch for error handling

File size: 1.6 KB
RevLine 
[16392]1{combine_css path=$BATCH_DOWNLOAD_PATH|@cat:"template/style.css"}
2
[16379]3{$MENUBAR}
4
5{if $set.U_DOWNLOAD}
6{footer_script}
7setTimeout("document.location.href = '{$set.U_DOWNLOAD}';", 1000);
8{/footer_script}
9{/if}
10
11<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
12<div class="titrePage">
13  <ul class="categoryActions"></ul>
14  <h2>{$TITLE}</h2>
15</div>{* <!-- titrePage --> *}
16
17{if isset($errors) or not empty($infos)}
18{include file='infos_errors.tpl'}
19{/if}
20
21
[16609]22{if $set}
[16392]23<fieldset>
24  <legend>{'Download info'|@translate}</legend>
25  <h2>{$set.NAME}</h2>
26  {if $set.COMMENT}<blockquote class="comment">{$set.COMMENT}</blockquote>{/if}
27 
28  <ul class="set-infos">
29    <li class="error">{$elements_error}</li>
[16609]30    <li><b>{'%d photos'|@translate|@sprintf:$set.NB_IMAGES}</b>{if $set.U_EDIT_SET}, <a href="{$set.U_EDIT_SET}" rel="nofollow">{'Edit the set'|@translate}</a>{/if}</li>
[16392]31    <li><b>{'Estimated size'|@translate}:</b> {$set.TOTAL_SIZE} MB</li>
32    <li><b>{'Estimated number of archives'|@translate}:</b> {$set.NB_ARCHIVES} <i>({'real number of archives can differ'|@translate})</i></li>
[16400]33    <li><b>{'Created on'|@translate}:</b> {$set.DATE_CREATION}</li>
[16392]34  </ul>
35</fieldset>
[16379]36
[16392]37<fieldset>
38  <legend>{'Download links'|@translate}</legend>
39 
40  <ul class="download-links">
41    {$set.LINKS}
42    <li class="warning">{'<b>Warning:</b> all files will be deleted within %d hours'|@translate|@sprintf:$archive_timeout}</li>
43  </ul>
44 
[16609]45  <a href="{$set.U_CANCEL}" class="cancel-down" onClick="return confirm('{'Are you sure?'|@translate}');">{'Cancel this download'|@translate}</a>
[16392]46</fieldset>
[16609]47{/if}
[16379]48
49</div>{* <!-- content --> *}
Note: See TracBrowser for help on using the repository browser.