aboutsummaryrefslogtreecommitdiffstats
path: root/themes/elegant/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/elegant/admin/admin.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/elegant/admin/admin.inc.php b/themes/elegant/admin/admin.inc.php
index 0e9c8a74d..bbb03c1c7 100644
--- a/themes/elegant/admin/admin.inc.php
+++ b/themes/elegant/admin/admin.inc.php
@@ -10,12 +10,12 @@ $config_send= array();
if(isset($_POST['submit_elegant']))
{
- $config_send['p_main_menu']=(isset($_POST['p_main_menu']) and !empty($_POST['p_main_menu'])) ? $_POST['p_main_menu'] : 'on';
- $config_send['p_pict_descr']=(isset($_POST['p_pict_descr']) and !empty($_POST['p_pict_descr'])) ? $_POST['p_pict_descr'] : 'on';
- $config_send['p_pict_comment']=(isset($_POST['p_pict_comment']) and !empty($_POST['p_pict_comment'])) ? $_POST['p_pict_comment'] : 'off';
+ $config_send['p_main_menu']=(isset($_POST['p_main_menu']) and !empty($_POST['p_main_menu'])) ? $_POST['p_main_menu'] : 'on';
+ $config_send['p_pict_descr']=(isset($_POST['p_pict_descr']) and !empty($_POST['p_pict_descr'])) ? $_POST['p_pict_descr'] : 'on';
+ $config_send['p_pict_comment']=(isset($_POST['p_pict_comment']) and !empty($_POST['p_pict_comment'])) ? $_POST['p_pict_comment'] : 'off';
- $conf['elegant'] = serialize($config_send);
- conf_update_param('elegant', pwg_db_real_escape_string($conf['elegant']));
+ $conf['elegant'] = serialize($config_send);
+ conf_update_param('elegant', pwg_db_real_escape_string($conf['elegant']));
array_push($page['infos'], l10n('Information data registered in database'));
}