diff --git a/html/user_pref.php b/html/user_pref.php index 58b7a5786..38b485d70 100644 --- a/html/user_pref.php +++ b/html/user_pref.php @@ -33,17 +33,17 @@ if ( isset ( $_POST['style_user']) ) { } // // Met à jour le profil -// if ( isset ( $_POST['profile_user']) ) { -// $g_UserProperty['use_usertype']=$_POST['profile_user']; +if ( isset ( $_POST['profile_user']) ) { + $g_UserProperty['use_usertype']=$_POST['profile_user']; +} -// } html_page_start($g_UserProperty['use_theme']); -// clean session variable from user interface (make prob. with compta interfac) -// -if ( isset ($g_jrn) ) { - session_unregister("g_jrn"); -} +// // clean session variable from user interface (make prob. with compta interfac) +// // +// if ( isset ($g_jrn) ) { +// session_unregister("g_jrn"); +// } /* Admin. Dossier */ $rep=DbConnect(); @@ -92,15 +92,6 @@ if ( isset ( $_POST['style_user']) ) { $g_UserProperty['use_theme']=$_POST['style_user']; } -// Met à jour le profil -// if ( isset ( $_POST['profile_user']) ) { -// $CnRepo=DbConnect(); -// $Res=ExecSql($CnRepo, -// "update ac_users set use_usertype='".$_POST['profile_user']. -// "' where use_login='$g_user'"); -// $g_UserProperty['use_usertype']=$_POST['profile_user']; - -// } ?>

Password

@@ -143,32 +134,7 @@ $disp_style.=""; -"; -// foreach ($aprofile as $st){ -// if ( $st == $g_UserProperty['use_usertype'] ) { -// $disp_pro.='