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

Last change on this file since 16622 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
Line 
1{combine_css path=$BATCH_DOWNLOAD_PATH|@cat:"template/style.css"}
2
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
22{if $set}
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>
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>
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>
33    <li><b>{'Created on'|@translate}:</b> {$set.DATE_CREATION}</li>
34  </ul>
35</fieldset>
36
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 
45  <a href="{$set.U_CANCEL}" class="cancel-down" onClick="return confirm('{'Are you sure?'|@translate}');">{'Cancel this download'|@translate}</a>
46</fieldset>
47{/if}
48
49</div>{* <!-- content --> *}
Note: See TracBrowser for help on using the repository browser.