update_global_pref('THEME',$_POST['style_user']); $_SESSION['g_theme']=$_POST['style_user']; } // Update the language if ( isset($_POST ['lang'])) { $g_user->update_global_pref('LANG',$_POST['lang']); $_SESSION['g_lang']=$_POST['lang']; } html_page_start($_SESSION['g_theme']); // Met a jour le pagesize if ( isset ( $_POST['p_size']) ) { $g_user->update_global_pref('PAGESIZE',$_POST['p_size']); $_SESSION['g_pagesize']=$_POST['p_size']; } // Topmenu // not used for the moment //--------------------------------------------------------------------------- // Here we put all the changes //--------------------------------------------------------------------------- if ( isset ($_POST['val']) ) { // Change the mini report if ( isset ($_POST['minirap'])) $g_user->set_mini_report($_POST['minirap']); } // show the top menu depending of the use_style // comta style include_once ("user_menu.php"); echo "