Ignore:
Timestamp:
Dec 29, 2013, 11:02:14 AM (10 years ago)
Author:
mistic100
Message:

hide NESW handles when forcing ratio

File:
1 edited

Legend:

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

    r26298 r26308  
    1313{
    1414  include_once(HEADER_MANAGER_PATH . 'include/banner.class.php');
     15 
     16  $conf['header_manager']['keep_ratio'] = isset($_POST['keep_ratio']);
     17  conf_update_param('header_manager', serialize($conf['header_manager']));
    1518 
    1619  $banner = get_banner($_POST['picture_file']);
     
    118121    'picture' => $picture,
    119122    'crop' => hm_get_crop_display($picture),
     123    'keep_ratio' => $conf['header_manager']['keep_ratio'],
    120124    ));
    121125}
Note: See TracChangeset for help on using the changeset viewer.