From badc43022d13856c928b14c9b0585e23b78fd0ca Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 30 Apr 2005 15:21:26 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Lien=20incorrect=20si=20dolibarr=20utili?= =?UTF-8?q?s=E9=20dans=20un=20"sous=20r=E9pertoire".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index da93a2305c7..e3d409282b4 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1416,15 +1416,15 @@ else if ($_GET["action"] == 'presend') { print '
'; - print_titre("Envoyer la facture par mail"); + print_titre($langs->trans("SendBillByMail")); $liste[0]=" "; foreach ($soc->contact_email_array() as $key=>$value) { $liste[$key]=$value; } - + // Créé l'objet formulaire mail - include_once("../html.formmail.class.php"); + include_once(DOL_DOCUMENT_ROOT."/html.formmail.class.php"); $formmail = new FormMail($db); $formmail->fromname = $user->fullname; $formmail->frommail = $user->email; @@ -1450,7 +1450,7 @@ else if ($_GET["action"] == 'prerelance') { print '
'; - print_titre("Envoyer une relance par mail"); + print_titre($langs->trans("SendReminderBillByMail")); $liste[0]=" "; foreach ($soc->contact_email_array() as $key=>$value) { @@ -1496,14 +1496,7 @@ else { $i = 0; $total = 0; print "
"; - if ($num >1) - { - print_titre("Propositions commerciales associées"); - } - else - { - print_titre("Proposition commerciale associée"); - } + print_titre($langs->trans("RelatedCommercialProposals")); print ''; print ''; @@ -1535,7 +1528,7 @@ else else { /* Facture non trouvée */ - print "Facture ".$_GET["facid"]." inexistante"; + print $langs->trans("ErrorBillNotFound",$_GET["facid"]); } } else @@ -1782,5 +1775,5 @@ else $db->close(); -llxFooter("Dernière modification $Date$ révision $Revision$"); +llxFooter('$Date$ - $Revision$'); ?>