Ignore:
Timestamp:
Jul 6, 2012, 1:03:39 PM (12 years ago)
Author:
mistic100
Message:
  • 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:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/template/init_zip.tpl

    r16379 r16392  
     1{combine_css path=$BATCH_DOWNLOAD_PATH|@cat:"template/style.css"}
     2
    13{$MENUBAR}
    24
     
    1820
    1921
    20 <p>
    21   <h3>{$set.NAME}</h3>
    22   {if $set.COMMENT}<blockquote>{$set.COMMENT}</blockquote>{/if}
    23   <span>{'%d images'|@translate|@sprintf:$set.NB_IMAGES}{if $set.U_EDIT_SET}, <a href="{$set.U_EDIT_SET}" rel="nofollow">{'Edit the set'|@translate}</a>{/if}</span>
    24 </p>
     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>
    2536
    26 <p>
    27   <b>{'Estimated size'|@translate}:</b> {$set.TOTAL_SIZE} MB<br>
    28   <b>{'Estimated number of archives'|@translate}:</b> {$set.NB_ARCHIVES}<br>
    29   <i>{'These datas are an estimation, real specs can differ'|@translate}</i>
    30 </p>
    3137
    32 <p>
    33 <b>Download links:</b>
    34 {$set.LINKS}
    35 </p>
    36 
    37 <p class="infos">
    38 {'<b>Warning:</b> all files will be deleted within %d hours'|@translate|@sprintf:$archive_timeout}
    39 </p>
     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>
    4048
    4149</div>{* <!-- content --> *}
Note: See TracChangeset for help on using the changeset viewer.