From cc0dd16a08937a7119e2e7a784b52b3fdc2dc55a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 21 Jun 2012 14:06:00 +0000 Subject: [PATCH] =?UTF-8?q?0000649:=20Am=C3=A9liorer=20apparence=20de=20CF?= =?UTF-8?q?GPRO=20Reviens=20sur=20le=20bon=20onglet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/js/scripts.js | 1 - include/ajax_get_profile.php | 7 +++++-- include/ajax_mod_menu.php | 1 + include/template/user_sec_profile.php | 1 + include/template/user_sec_repository.php | 2 ++ 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/html/js/scripts.js b/html/js/scripts.js index 6a1902c44..3f24390be 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -1604,7 +1604,6 @@ function profile_show(p_div) var div=['profile_gen_div','profile_menu_div','profile_print_div','profile_gestion_div','profile_repo_div']; for (var r =0;r

Profil p_name?>

@@ -53,6 +52,7 @@ $with_direct_form=new ICheckBox("with_direct_form","t"); $with_direct_form->set_check($profile->with_direct_form); echo ''; - + if ( isset ($_POST['tab'])) + { + echo create_script("profile_show('".$_POST['tab']."');"); + } } else { diff --git a/include/ajax_mod_menu.php b/include/ajax_mod_menu.php index f9c70f54d..212125e0a 100644 --- a/include/ajax_mod_menu.php +++ b/include/ajax_mod_menu.php @@ -3,6 +3,7 @@ require_once 'class_menu_ref.php'; $m=new Menu_Ref($cn,$me_code); $msg="Modification ".$m->me_code.' '.h($m->me_menu); echo ''; +echo HtmlInput::hidden('tab','profile_menu_div'); require_once 'template/menu_detail.php'; echo HtmlInput::submit('modify_menu','Sauver'); diff --git a/include/template/user_sec_profile.php b/include/template/user_sec_profile.php index 3013e0d65..f4caf1b1a 100644 --- a/include/template/user_sec_profile.php +++ b/include/template/user_sec_profile.php @@ -28,6 +28,7 @@ */ ?> + diff --git a/include/template/user_sec_repository.php b/include/template/user_sec_repository.php index 81b269230..6799f25dd 100644 --- a/include/template/user_sec_repository.php +++ b/include/template/user_sec_repository.php @@ -27,6 +27,8 @@ */ ?> + +