Ignore:
Timestamp:
May 21, 2011, 7:37:43 PM (13 years ago)
Author:
mistic100
Message:

last commit for first public version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Back2Front/admin.php

    r10852 r10981  
    99if (isset($_POST['submit']))
    1010{
    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  );
    1716       
     17  conf_update_param('back2front', implode (',', $conf['back2front']));
    1818        array_push($page['infos'], l10n('Information data registered in database'));
    1919}
Note: See TracChangeset for help on using the changeset viewer.