From 4d4e0aafb47de0868be541a06277610c6eb61f3e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 10 Aug 2007 06:27:24 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20l'affichage=20des=20num=E9ros=20de=20t?= =?UTF-8?q?=E9l=E9phone=20utilise=20la=20fonction=20"dolibarr=5Fprint=5Fph?= =?UTF-8?q?one"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/fiche.php | 1 + htdocs/contact/fiche.php | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 7ca22bca919..0cb9246d144 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -3,6 +3,7 @@ * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2004 Eric Seigne * Copyright (C) 2006 Andre Cianfarani + * Copyright (C) 2005-2007 Regis Houssin * * 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 diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index 693c640dfb6..63d7abe775f 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -2,7 +2,7 @@ /* Copyright (C) 2004-2005 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2004 Benoit Mortier - * Copyright (C) 2005-2006 Regis Houssin + * Copyright (C) 2005-2007 Regis Houssin * Copyright (C) 2007 Franky Van Liedekerke * * This program is free software; you can redistribute it and/or modify @@ -520,11 +520,11 @@ if ($_GET["id"] && $_GET["action"] != 'edit') print $contact->pays; print ''; - print ''.$langs->trans("PhonePro").''.$contact->phone_pro.''; - print ''.$langs->trans("PhonePerso").''.$contact->phone_perso.''; + print ''.$langs->trans("PhonePro").''.dolibarr_print_phone($contact->phone_pro,$objsoc->pays_code).''; + print ''.$langs->trans("PhonePerso").''.dolibarr_print_phone($contact->phone_perso,$objsoc->pays_code).''; - print ''.$langs->trans("PhoneMobile").''.$contact->phone_mobile.''; - print ''.$langs->trans("Fax").''.$contact->fax.''; + print ''.$langs->trans("PhoneMobile").''.dolibarr_print_phone($contact->phone_mobile,$objsoc->pays_code).''; + print ''.$langs->trans("Fax").''.dolibarr_print_phone($contact->fax,$objsoc->pays_code).''; print ''.$langs->trans("EMail").''; if ($contact->email && ! ValidEmail($contact->email))