Changeset 29855 for extensions/LLGBO2/admin/frame.php
- Timestamp:
- Oct 1, 2014, 5:38:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/frame.php
r29842 r29855 17 17 // -------- Save -- 18 18 if ( isset($_POST['save']) ) 19 { $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo_frame); 19 { // $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo_frame); 20 $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $param_llgbo_frame); 20 21 conf_update_param('LLGBO2_settings',$conf['LLGBO2']); 21 22 array_push($page['infos'], l10n('Information data registered in database')); … … 25 26 // -------- Preview -- 26 27 if ( isset($_POST['preview']) ) 27 { $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo_frame); } 28 { $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $param_llgbo_frame); 29 // $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $param_llgbo_frame); 30 } 28 31 29 32 // -------- Reset -- 30 33 if ( isset($_POST['reset']) ) 31 { $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $default_frame); } 34 { $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $default_frame); 35 //$conf['LLGBO2'] = array_replace($conf['LLGBO2'], $default_frame); 36 } 32 37 33 38 // -------- Preview sample -- … … 41 46 } 42 47 $s = $_POST['sample']; 43 $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $samples[$s]); 48 $conf['LLGBO2'] = update_llgboconf($conf['LLGBO2'], $samples[$s]); 49 // $conf['LLGBO2'] = array_replace($conf['LLGBO2'], $samples[$s]); 44 50 45 51 }
Note: See TracChangeset
for help on using the changeset viewer.