Changeset 23429


Ignore:
Timestamp:
Jun 21, 2013, 4:09:41 PM (8 years ago)
Author:
flop25
Message:

indent correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/elegant/admin/admin.inc.php

    r23277 r23429  
    1111if(isset($_POST['submit_elegant']))
    1212{
    13         $config_send['p_main_menu']=(isset($_POST['p_main_menu']) and !empty($_POST['p_main_menu'])) ? $_POST['p_main_menu'] : 'on';
    14         $config_send['p_pict_descr']=(isset($_POST['p_pict_descr']) and !empty($_POST['p_pict_descr'])) ? $_POST['p_pict_descr'] : 'on';
    15         $config_send['p_pict_comment']=(isset($_POST['p_pict_comment']) and !empty($_POST['p_pict_comment'])) ? $_POST['p_pict_comment'] : 'off';
     13  $config_send['p_main_menu']=(isset($_POST['p_main_menu']) and !empty($_POST['p_main_menu'])) ? $_POST['p_main_menu'] : 'on';
     14  $config_send['p_pict_descr']=(isset($_POST['p_pict_descr']) and !empty($_POST['p_pict_descr'])) ? $_POST['p_pict_descr'] : 'on';
     15  $config_send['p_pict_comment']=(isset($_POST['p_pict_comment']) and !empty($_POST['p_pict_comment'])) ? $_POST['p_pict_comment'] : 'off';
    1616 
    17         $conf['elegant'] = serialize($config_send);
    18         conf_update_param('elegant', pwg_db_real_escape_string($conf['elegant']));
     17  $conf['elegant'] = serialize($config_send);
     18  conf_update_param('elegant', pwg_db_real_escape_string($conf['elegant']));
    1919
    2020  array_push($page['infos'], l10n('Information data registered in database'));
Note: See TracChangeset for help on using the changeset viewer.