Changeset 22857 for extensions/header_manager
- Timestamp:
- May 24, 2013, 11:04:25 PM (12 years ago)
- Location:
- extensions/header_manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/header_manager/admin/add.php
r15958 r22857 16 16 $banner = get_banner($_POST['picture_file']); 17 17 $img = new banner_image($banner['PATH']); 18 $crop = get_crop_display(array('width'=>$img->get_width(), 'height'=>$img->get_height()));18 $crop = hm_get_crop_display(array('width'=>$img->get_width(), 'height'=>$img->get_height())); 19 19 20 20 $img->banner_resize( … … 116 116 'IN_CROP' => true, 117 117 'picture' => $picture, 118 'crop' => get_crop_display($picture),118 'crop' => hm_get_crop_display($picture), 119 119 )); 120 120 } -
extensions/header_manager/admin/album.php
r19181 r22857 56 56 $tabsheet->select('headermanager'); 57 57 $tabsheet->assign(); 58 59 $page['active_menu'] = get_active_menu('album'); 58 60 59 61 -
extensions/header_manager/include/functions.inc.php
r20169 r22857 59 59 * @return: array crop(display_width, display_height, l, r, t, b, coi(x, y)) 60 60 */ 61 function get_crop_display($picture)61 function hm_get_crop_display($picture) 62 62 { 63 63 global $conf;
Note: See TracChangeset
for help on using the changeset viewer.