From 44cba09617b7fdac70e3041da99a6fac8ec2ef06 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 23 Nov 2004 20:38:23 +0000 Subject: [PATCH] Remove the compta profile --- html/user_pref.php | 48 +++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/html/user_pref.php b/html/user_pref.php index a05fda0dd..9bfbdf15c 100644 --- a/html/user_pref.php +++ b/html/user_pref.php @@ -32,11 +32,11 @@ if ( isset ( $_POST['style_user']) ) { $g_UserProperty['use_theme']=$_POST['style_user']; } -// Met à jour le profil -if ( isset ( $_POST['profile_user']) ) { - $g_UserProperty['use_usertype']=$_POST['profile_user']; +// // Met à jour le profil +// 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) @@ -90,14 +90,14 @@ if ( isset ( $_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']; +// 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

@@ -141,19 +141,19 @@ $disp_style.=""; "; -foreach ($aprofile as $st){ - if ( $st == $g_UserProperty['use_usertype'] ) { - $disp_pro.='