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))