Ignore:
Timestamp:
Jul 11, 2012, 12:58:19 PM (12 years ago)
Author:
mistic100
Message:

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

Location:
extensions/BatchDownloader/template
Files:
2 edited

Legend:

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

    r16400 r16609  
    2020
    2121
     22{if $set}
    2223<fieldset>
    2324  <legend>{'Download info'|@translate}</legend>
     
    2728  <ul class="set-infos">
    2829    <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>{'%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>
    3031    <li><b>{'Estimated size'|@translate}:</b> {$set.TOTAL_SIZE} MB</li>
    3132    <li><b>{'Estimated number of archives'|@translate}:</b> {$set.NB_ARCHIVES} <i>({'real number of archives can differ'|@translate})</i></li>
    3233    <li><b>{'Created on'|@translate}:</b> {$set.DATE_CREATION}</li>
    3334  </ul>
    34  
    35  
    3635</fieldset>
    37 
    3836
    3937<fieldset>
     
    4543  </ul>
    4644 
    47   {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}
     45  <a href="{$set.U_CANCEL}" class="cancel-down" onClick="return confirm('{'Are you sure?'|@translate}');">{'Cancel this download'|@translate}</a>
    4846</fieldset>
     47{/if}
    4948
    5049</div>{* <!-- content --> *}
  • extensions/BatchDownloader/template/view.tpl

    r16379 r16609  
    1414  <h3>{$set.NAME}</h3>
    1515  {if $set.COMMENT}<blockquote>{$set.COMMENT}</blockquote>{/if}
    16   <span>{'%d images'|@translate|@sprintf:$set.NB_IMAGES}</span>
     16  {'Nb images'|@translate}: <span class="nbImages">{$set.NB_IMAGES}</span>
    1717</p>
    1818
Note: See TracChangeset for help on using the changeset viewer.