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

Last change on this file since 16392 was 16392, checked in by mistic100, 12 years ago
  • stylish download page
  • if there is only one archive, the file is downloaded directly
  • improve configuration page + add sliders (needs Piwigo 2.4.2)
File size: 1.5 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<fieldset>
23  <legend>{'Download info'|@translate}</legend>
24  <h2>{$set.NAME}</h2>
25  {if $set.COMMENT}<blockquote class="comment">{$set.COMMENT}</blockquote>{/if}
26 
27  <ul class="set-infos">
28    <li class="error">{$elements_error}</li>
29    <li><b>{'%d images'|@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>
30    <li><b>{'Estimated size'|@translate}:</b> {$set.TOTAL_SIZE} MB</li>
31    <li><b>{'Estimated number of archives'|@translate}:</b> {$set.NB_ARCHIVES} <i>({'real number of archives can differ'|@translate})</i></li>
32  </ul>
33 
34 
35</fieldset>
36
37
38<fieldset>
39  <legend>{'Download links'|@translate}</legend>
40 
41  <ul class="download-links">
42    {$set.LINKS}
43    <li class="warning">{'<b>Warning:</b> all files will be deleted within %d hours'|@translate|@sprintf:$archive_timeout}</li>
44  </ul>
45 
46  {if $set.U_CANCEL}<a href="{$set.U_CANCEL}" class="cancel-down" onClick="return confirm('{'Are you sure?'|@translate}');">{'Cancel this download'|@translate}</a>{/if}
47</fieldset>
48
49</div>{* <!-- content --> *}
Note: See TracBrowser for help on using the repository browser.