Ignore:
Timestamp:
12/03/11 18:11:54 (8 years ago)
Author:
patdenice
Message:

Display cache informations on admin page.
Add possibility to clear the cache.
Resize method is now applied on big images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/template/admin.tpl

    r12678 r12691  
    5050</form> 
    5151 
     52<fieldset id="cacheinfo"> 
     53<legend>{'Cache Informations'|@translate}</legend> 
     54<p> 
     55{$NB_ELEMENTS}, {$ELEMENTS_SIZE}<br> 
     56<a href="admin.php?page=plugin-GThumb&amp;pwg_token={$PWG_TOKEN}&amp;deletecache=true" onclick="return confirm('{'Are you sure?'|@translate}');">{'Clear the cache'|@translate}</a> 
     57</p> 
     58</fieldset> 
     59 
    5260{html_head}{literal} 
    53 <style type="text/css">#GThumb td { padding-bottom: 12px; }</style> 
     61<style type="text/css"> 
     62#GThumb td { padding-bottom: 12px; } 
     63#cacheinfo p { text-align:left; line-height:20px; margin:20px } 
     64</style> 
    5465{/literal}{/html_head} 
Note: See TracChangeset for help on using the changeset viewer.