Show
Ignore:
Timestamp:
10/18/11 06:39:23 (20 months ago)
Author:
Dsls
Message:

rotateImage v0.4 : removed HD rotation checkbox if library is GD.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/rotateImage/rotate_image.tpl

    r12417 r12481  
    6969 
    7070<div id="rotate_image" class="bulkAction"> 
    71       <table style="margin-left:20px;"> 
    72         <tr> 
    73           <th id="thumb_width_th">{'Angle'|@translate}</th> 
    74           <td> 
    75           <select name="rotate_angle"> 
    76             {foreach from=$angles item=angle} 
    77               <option value="{$angle.value}" {if $saved_angle eq $angle.value}selected="selected"{/if}>{$angle.name}</option> 
    78             {/foreach} 
    79           </select> 
    80           </td> 
    81         </tr> 
    82         <tr> 
    83           <th><label for="rotate_hd">{'Also rotate HD image'|@translate}</label></th> 
    84           <td><input type="checkbox" name="rotate_hd" id="rotate_hd" {if $upload_form_settings.thumb_crop}checked="checked"{/if}></td> 
    85         </tr> 
    86       </table> 
     71  <table style="margin-left:20px;"> 
     72    <tr> 
     73      <th id="thumb_width_th">{'Angle'|@translate}</th> 
     74      <td> 
     75      <select name="rotate_angle"> 
     76        {foreach from=$angles item=angle} 
     77          <option value="{$angle.value}" {if $saved_angle eq $angle.value}selected="selected"{/if}>{$angle.name}</option> 
     78        {/foreach} 
     79      </select> 
     80      </td> 
     81    </tr> 
     82    {if $library != 'gd'} 
     83    <tr> 
     84      <th><label for="rotate_hd">{'Also rotate HD image'|@translate}</label></th> 
     85      <td><input type="checkbox" name="rotate_hd" id="rotate_hd" {if $upload_form_settings.thumb_crop}checked="checked"{/if}></td> 
     86    </tr> 
     87    {/if} 
     88  </table> 
    8789</div>