Ignore:
Timestamp:
May 24, 2013, 11:04:25 PM (12 years ago)
Author:
mistic100
Message:

rename personal get_crop_display function to avoid conflicts

Location:
extensions/header_manager
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/header_manager/admin/add.php

    r15958 r22857  
    1616  $banner = get_banner($_POST['picture_file']);
    1717  $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()));
    1919 
    2020  $img->banner_resize(
     
    116116    'IN_CROP' => true,
    117117    'picture' => $picture,
    118     'crop' => get_crop_display($picture),
     118    'crop' => hm_get_crop_display($picture),
    119119    ));
    120120}
  • extensions/header_manager/admin/album.php

    r19181 r22857  
    5656$tabsheet->select('headermanager');
    5757$tabsheet->assign();
     58
     59$page['active_menu'] = get_active_menu('album');
    5860
    5961
  • extensions/header_manager/include/functions.inc.php

    r20169 r22857  
    5959 * @return: array crop(display_width, display_height, l, r, t, b, coi(x, y))
    6060 */
    61 function get_crop_display($picture)
     61function hm_get_crop_display($picture)
    6262{
    6363  global $conf;
Note: See TracChangeset for help on using the changeset viewer.