Trad: Traduction

This commit is contained in:
Laurent Destailleur 2005-09-04 14:56:33 +00:00
parent 888e19438b
commit 87cae12582
3 changed files with 60 additions and 58 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -37,6 +37,7 @@ function llxHeader($head = "", $title = "")
global $user, $conf, $langs; global $user, $conf, $langs;
$langs->load("companies"); $langs->load("companies");
$langs->load("commercial");
top_menu($head, $title); top_menu($head, $title);

View File

@ -1,5 +1,6 @@
<?php <?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -20,7 +21,7 @@
* *
*/ */
/*! /**
\file htdocs/comm/prospect/pre.inc.php \file htdocs/comm/prospect/pre.inc.php
\ingroup commercial \ingroup commercial
\brief Fichier de gestion du menu gauche de l'espace commercial \brief Fichier de gestion du menu gauche de l'espace commercial
@ -29,16 +30,19 @@
require("../../main.inc.php"); require("../../main.inc.php");
function llxHeader($head = "", $urlp = "") { function llxHeader($head = "", $urlp = "")
{
global $user, $conf, $langs; global $user, $conf, $langs;
$user->getrights(); $user->getrights();
$langs->load("companies"); $langs->load("companies");
$langs->load("commercial");
top_menu($head); top_menu($head);
$menu = new Menu(); $menu = new Menu();
$menu->add(DOL_URL_ROOT."/comm/prospect/", "Prospection"); $menu->add(DOL_URL_ROOT."/comm/prospect/", $langs->trans("Prospection"));
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&amp;type=p", $langs->trans("MenuNewProspect")); $menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&amp;type=p", $langs->trans("MenuNewProspect"));
@ -56,7 +60,6 @@ function llxHeader($head = "", $urlp = "") {
$menu->add(DOL_URL_ROOT."/comm/propal.php", $langs->trans("Prop")); $menu->add(DOL_URL_ROOT."/comm/propal.php", $langs->trans("Prop"));
} }
$menu->add(DOL_URL_ROOT."/comm/clients.php", $langs->trans("Customers")); $menu->add(DOL_URL_ROOT."/comm/clients.php", $langs->trans("Customers"));
left_menu($menu->liste); left_menu($menu->liste);

View File

@ -34,15 +34,13 @@ require_once(DOL_DOCUMENT_ROOT."/facture.class.php");
function llxHeader($head = "", $title="", $help_url='') { function llxHeader($head = "", $title="", $help_url='') {
global $user, $conf, $langs; global $user, $conf, $langs;
$langs->load("companies"); $langs->load("companies");
$langs->load("commercial");
$langs->load("bills"); $langs->load("bills");
$langs->load("banks"); $langs->load("banks");
$langs->load("propal"); $langs->load("propal");
/*
*
*
*/
top_menu($head, $title); top_menu($head, $title);
$menu = new Menu(); $menu = new Menu();
@ -56,6 +54,6 @@ function llxHeader($head = "", $title="", $help_url='') {
$menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("StandingOrders")); $menu->add(DOL_URL_ROOT."/compta/prelevement/",$langs->trans("StandingOrders"));
left_menu($menu->liste, $help_url); left_menu($menu->liste, $help_url);
} }
?> ?>