Changeset 10981 for extensions/Back2Front/admin.php
- Timestamp:
- May 21, 2011, 7:37:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Back2Front/admin.php
r10852 r10981 9 9 if (isset($_POST['submit'])) 10 10 { 11 $conf['back2front'] = array($conf['back2front'][0], $_POST['switch_mode'], $_POST['transition']); 12 13 $query = 'UPDATE ' . CONFIG_TABLE . ' 14 SET value="' . implode (',', $conf['back2front']) . '" 15 WHERE param="back2front"'; 16 pwg_query($query); 11 $conf['back2front'] = array( 12 $conf['back2front'][0], 13 $_POST['switch_mode'], 14 $_POST['transition'] 15 ); 17 16 17 conf_update_param('back2front', implode (',', $conf['back2front'])); 18 18 array_push($page['infos'], l10n('Information data registered in database')); 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.