diff --git a/html/jrn_add.php b/html/jrn_add.php index e0453e7d4..a6dae4c2a 100644 --- a/html/jrn_add.php +++ b/html/jrn_add.php @@ -173,7 +173,7 @@ echo ''; ?>

Fiches (profile user)

'; +echo '

Fiches

'; $Res=ExecSql($cn,"select fd_id,fd_label from fiche_def order by fd_label"); $num=pg_NumRows($Res); diff --git a/html/jrn_detail.php b/html/jrn_detail.php index 20ca6f635..c17cfe1cb 100644 --- a/html/jrn_detail.php +++ b/html/jrn_detail.php @@ -124,7 +124,7 @@ if ( isset ($_POST["PHPSESSID"] ) ) { $search='"; echo '
'; -echo '

Fiches (profile comptable)

'; +echo '

Fiches

'; echo '
'; echo ''; echo ''; @@ -196,7 +196,7 @@ echo ""; echo '
Code ".$l_line['jrn_def_code']."
'; // Get all the fiches -echo '

Fiches (profile user)

'; +echo '

Fiches

'; $Res=ExecSql($cn,"select fd_id,fd_label from fiche_def order by fd_label"); $num=pg_NumRows($Res); diff --git a/html/login.php b/html/login.php index f201ecd09..cacabe1ac 100644 --- a/html/login.php +++ b/html/login.php @@ -40,7 +40,7 @@ include_once ("class_user.php"); $User=new cl_user($rep); $User->Check(); - Redirect($_REQUEST["PHPSESSID"]); + echo ""; } else { @@ -49,7 +49,7 @@ $User->Check(); $User=new cl_user($rep); $User->Check(); - Redirect($_REQUEST["PHPSESSID"]); + echo ""; // } } html_page_stop(); diff --git a/html/user_pref.php b/html/user_pref.php index 9cc70b267..e3bc597fe 100644 --- a/html/user_pref.php +++ b/html/user_pref.php @@ -37,10 +37,6 @@ if ( isset ( $_POST['style_user']) ) { $_SESSION['use_theme']=$_POST['style_user']; } -// // Met à jour le profil -if ( isset ( $_POST['profile_user']) ) { - $_SESSION['use_usertype']=$_POST['profile_user']; -} html_page_start($_SESSION['use_theme']); diff --git a/include/ac_common.php b/include/ac_common.php index 1095b33bc..6d7b79397 100644 --- a/include/ac_common.php +++ b/include/ac_common.php @@ -250,22 +250,7 @@ function GetUserType($p_user) $Ret=pg_fetch_row($Res,0); return $Ret[0]; } -/* function Redirect - * Purpose : redirect following the user's profile - * - * parm : - * - php_session PHPSESSID - * gen : - * - none - * return: none - */ -function Redirect($php_session) { - include_once("debug.php"); - echo_debug(__FILE__,__LINE__,"Session is $php_session"); - $URL="user_login.php"; - echo ""; - -} + /* function ShowItem($p_array) */ /* purpose : store the string which print */ /* the content of p_array in a table */