Changeset 13314 for extensions/rotateImage
- Timestamp:
- Feb 23, 2012, 11:33:51 AM (13 years ago)
- Location:
- extensions/rotateImage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rotateImage/rotate_image.tpl
r12481 r13314 11 11 { 12 12 angle = jQuery('select[name="rotate_angle"]').val(); 13 rotate_hd = jQuery("#rotate_hd").is(':checked'); 13 14 e.stopPropagation(); 14 15 } … … 55 56 format: 'json', 56 57 angle: angle, 58 rotate_hd: rotate_hd, 57 59 pwg_token: ri_pwg_token, 58 60 image_id: elements[i] … … 83 85 <tr> 84 86 <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>87 <td><input type="checkbox" name="rotate_hd" id="rotate_hd" checked="checked"></td> 86 88 </tr> 87 89 {/if} -
extensions/rotateImage/ws_functions.inc.php
r12417 r13314 36 36 $image_id=(int)$params['image_id']; 37 37 $angle=(int)$params['angle']; 38 $rotate_hd = (int) $params['rotate_hd'];38 $rotate_hd = get_boolean($params['rotate_hd']); 39 39 $query=' 40 40 SELECT id, path, tn_ext, has_high
Note: See TracChangeset
for help on using the changeset viewer.