From 4fe19d6e6a8de6baf918d921207612a70fccf5e9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 11 Aug 2005 20:26:24 +0000 Subject: [PATCH] Modif gestionnaire menu --- htdocs/compta/charges/pre.inc.php | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/htdocs/compta/charges/pre.inc.php b/htdocs/compta/charges/pre.inc.php index 101b51a46b6..276e5861442 100644 --- a/htdocs/compta/charges/pre.inc.php +++ b/htdocs/compta/charges/pre.inc.php @@ -24,22 +24,19 @@ require("../../main.inc.php"); function llxHeader($head = "") { - global $user, $conf, $langs; - - - /* - * - * - */ - top_menu($head); - - $menu = new Menu(); - - $menu->add("index.php",$langs->trans("Charges")); - - $menu->add_submenu(DOL_URL_ROOT."/compta/sociales/index.php",$langs->trans("SocialContributions")); - - left_menu($menu->liste); + global $user, $conf, $langs; + $langs->load("compta"); + $langs->load("propal"); + + top_menu($head); + + $menu = new Menu(); + + $menu->add("index.php",$langs->trans("Contributions")); + + $menu->add_submenu(DOL_URL_ROOT."/compta/sociales/index.php",$langs->trans("SocialContributions")); + + left_menu($menu->liste); } ?>