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

Last change on this file since 17492 was 17492, checked in by mistic100, 8 years ago

better integration in simple and stripped

File size: 1.9 KB
Line 
1{combine_css path=$BATCH_DOWNLOAD_PATH|@cat:"template/style.css"}
2
3{if $set.U_DOWNLOAD}
4{footer_script}
5setTimeout("document.location.href = '{$set.U_DOWNLOAD}';", 1000);
6{/footer_script}
7{/if}
8
9{* <!-- Menubar & titrePage --> *}
10{if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}
11  {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/stripped.tpl'}
12  {assign var="clear" value="true"}
13{elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}
14  {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/simple.tpl'}
15  {assign var="clear" value="true"}
16{else}
17  {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/default.tpl'}
18{/if}
19
20{if isset($errors) or not empty($infos)}
21{include file='infos_errors.tpl'}
22{/if}
23
24
25{if $set}
26<fieldset>
27  <legend>{'Download info'|@translate}</legend>
28  <h2>{$set.NAME}</h2>
29  {if $set.COMMENT}<blockquote class="comment">{$set.COMMENT}</blockquote>{/if}
30 
31  <ul class="set-infos">
32    <li class="error">{$elements_error}</li>
33    <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>
34    <li><b>{'Estimated size'|@translate}:</b> {$set.TOTAL_SIZE} MB</li>
35    <li><b>{'Estimated number of archives'|@translate}:</b> {$set.NB_ARCHIVES} <i>({'real number of archives can differ'|@translate})</i></li>
36    <li><b>{'Created on'|@translate}:</b> {$set.DATE_CREATION}</li>
37  </ul>
38</fieldset>
39
40<fieldset>
41  <legend>{'Download links'|@translate}</legend>
42 
43  <ul class="download-links">
44    {$set.LINKS}
45    <li class="warning">{'<b>Warning:</b> all files will be deleted within %d hours'|@translate|@sprintf:$archive_timeout}</li>
46  </ul>
47 
48  <a href="{$set.U_CANCEL}" class="cancel-down" onClick="return confirm('{'Are you sure?'|@translate}');">{'Cancel this download'|@translate}</a>
49</fieldset>
50{/if}
51
52{if $clear}<div style="clear: both;"></div>{/if}
53</div>{* <!-- content --> *}
Note: See TracBrowser for help on using the repository browser.