Changeset 9757


Ignore:
Timestamp:
03/18/11 15:20:55 (9 years ago)
Author:
patdenice
Message:

Add label for configuration checkbox.

Location:
extensions/square_thumbnails/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/square_thumbnails/trunk/functions.inc.php

    r9756 r9757  
    144144 
    145145// Resize function for Upload Form 
    146 function upload_square_resize($result, $source_filepath, $destination_filepath, $max_width, $max_height, $quality) 
     146function upload_square_resize($result, $source_filepath, $destination_filepath, $max_width, $max_height, $quality, $strip_metadata=false) 
    147147{ 
    148148  if ($result !== false) 
     
    327327 
    328328add_event_handler('thumbnail_resize', 'thumbnail_square_resize', 40, 5); 
    329 add_event_handler('upload_thumbnail_resize', 'upload_square_resize', 40, 6); 
     329add_event_handler('upload_thumbnail_resize', 'upload_square_resize', 40, 7); 
    330330 
    331331?> 
  • extensions/square_thumbnails/trunk/photo_add_settings.php

    r9756 r9757  
    8181    <table> 
    8282      <tr> 
    83         <th>{\'Square Thumbnails\'|@translate}</th> 
     83        <th><label for="square">{\'Square Thumbnails\'|@translate}</label></th> 
    8484              <td><input type="checkbox" name="square" id="square" {if $SQUARE}checked="checked"{/if}></td> 
    8585      </tr>'; 
Note: See TracChangeset for help on using the changeset viewer.