Changeset 13653


Ignore:
Timestamp:
Mar 20, 2012, 11:40:37 PM (9 years ago)
Author:
patdenice
Message:
 
File:
1 edited

Legend:

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

    r13652 r13653  
    5858<legend>{'Pre-cache thumbnails'|@translate}</legend>
    5959<p>
     60        <input id="startLink" value="{'Start'|@translate}" onclick="start()" type="button">
     61        <input id="pauseLink" value="{'Pause'|@translate}" onclick="pause()" type="button" disabled="disbled">
     62        <input id="stopLink" value="{'Stop'|@translate}" onclick="stop()" type="button" disabled="disbled">
     63</p>
     64<p>
    6065<table>
    6166        <tr>
     
    7378</table>
    7479</p>
    75 <p>
    76         <input id="startLink" value="{'Start'|@translate}" onclick="start()" type="button">
    77         <input id="pauseLink" value="{'Pause'|@translate}" onclick="pause()" type="button" disabled="disbled">
    78         <input id="stopLink" value="{'Stop'|@translate}" onclick="stop()" type="button" disabled="disbled">
    79 </p>
    80 <div id="feedbackWrap" style="height:320px; min-height:320px;">
     80<div id="feedbackWrap" style="height:{$HEIGHT}px; min-height:{$HEIGHT}px;">
    8181<img id="feedbackImg">
    8282</div>
     
    125125        loader.pause(false);
    126126        updateStats();
    127         getUrls('0');
     127        getUrls(0);
    128128}
    129129
     
    138138
    139139function getUrls(page_token) {
    140         data = {prev_page: page_token, max_urls: 195, types: []};
     140        data = {prev_page: page_token, max_urls: 500, types: []};
    141141        jQuery.post( '{/literal}{$ROOT_URL}{literal}admin.php?page=plugin-GThumb&getMissingDerivative=',
    142142                data, wsData, "json").fail( wsError );
     
    144144
    145145function wsData(data) {
    146   if (data.urls.length == 0) {
    147     jQuery('#generate_cache, input[name="cachebuild"]').hide();
    148   }
    149146        loader.add( data.urls );
    150147        if (data.next_page) {
Note: See TracChangeset for help on using the changeset viewer.