From df5e6a2519288d6c1243cccb6bea4e0e4a47f310 Mon Sep 17 00:00:00 2001
From: Anthony Berton <34568357+bb2a@users.noreply.github.com>
Date: Thu, 14 Jan 2021 08:56:38 +0100
Subject: [PATCH] picto
---
htdocs/contact/list.php | 10 +++++-----
htdocs/societe/list.php | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php
index 8d6b11e19f0..c33867fed7f 100644
--- a/htdocs/contact/list.php
+++ b/htdocs/contact/list.php
@@ -933,31 +933,31 @@ while ($i < min($num, $limit))
// Phone
if (!empty($arrayfields['p.phone']['checked']))
{
- print '
'.dol_print_phone($obj->phone_pro, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL').' | ';
+ print ''.dol_print_phone($obj->phone_pro, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL', ' ', 'phone').' | ';
if (!$i) $totalarray['nbfield']++;
}
// Phone perso
if (!empty($arrayfields['p.phone_perso']['checked']))
{
- print ''.dol_print_phone($obj->phone_perso, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL').' | ';
+ print ''.dol_print_phone($obj->phone_perso, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL', ' ', 'phone').' | ';
if (!$i) $totalarray['nbfield']++;
}
// Phone mobile
if (!empty($arrayfields['p.phone_mobile']['checked']))
{
- print ''.dol_print_phone($obj->phone_mobile, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL').' | ';
+ print ''.dol_print_phone($obj->phone_mobile, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL', ' ', 'mobile').' | ';
if (!$i) $totalarray['nbfield']++;
}
// Fax
if (!empty($arrayfields['p.fax']['checked']))
{
- print ''.dol_print_phone($obj->fax, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL').' | ';
+ print ''.dol_print_phone($obj->fax, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL', ' ', 'fax').' | ';
if (!$i) $totalarray['nbfield']++;
}
// EMail
if (!empty($arrayfields['p.email']['checked']))
{
- print ''.dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 18).' | ';
+ print ''.dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 18, 0, 1).' | ';
if (!$i) $totalarray['nbfield']++;
}
// No EMail
diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php
index f4ddb7e571f..ec748d95e94 100644
--- a/htdocs/societe/list.php
+++ b/htdocs/societe/list.php
@@ -1181,17 +1181,17 @@ while ($i < min($num, $limit))
}
if (!empty($arrayfields['s.phone']['checked']))
{
- print "".dol_print_phone($obj->phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL')." | \n";
+ print "".dol_print_phone($obj->phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'phone')." | \n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['s.fax']['checked']))
{
- print "".dol_print_phone($obj->fax, $obj->country_code, 0, $obj->rowid, 'AC_TEL')." | \n";
+ print "".dol_print_phone($obj->fax, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'fax')." | \n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['s.url']['checked']))
{
- print "".$obj->url." | \n";
+ print "".dol_print_url($obj->url, '', '', 1)." | \n";
if (!$i) $totalarray['nbfield']++;
}
if (!empty($arrayfields['s.siren']['checked']))