diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php
index 1cc2d67cf93..f34c477ff71 100644
--- a/htdocs/contact/list.php
+++ b/htdocs/contact/list.php
@@ -455,7 +455,7 @@ if ($search_priv != '0' && $search_priv != '1') {
// Search Categories
- // Search Contact Categories
+ // Search Contact Categories
$searchCategoryContactList = $search_categ ? array($search_categ) : array();
$searchCategoryContactOperator = 0;
// Search for tag/category ($searchCategoryContactList is an array of ID)
@@ -487,7 +487,7 @@ if (!empty($searchCategoryContactList)) {
}
}
- // Search Customer Categories
+ // Search Customer Categories
$searchCategoryCustomerList = $search_categ_thirdparty ? array($search_categ_thirdparty) : array();
$searchCategoryCustomerOperator = 0;
// Search for tag/category ($searchCategoryCustomerList is an array of ID)
@@ -976,7 +976,7 @@ if (!empty($arrayfields['p.town']['checked'])) {
print '';
print '';
}
-
+
// Region
if (!empty($arrayfields['region.nom']['checked']))
{
@@ -1262,7 +1262,7 @@ while ($i < min($num, $limit)) {
}
print '';
}
-
+
// ID
if (!empty($arrayfields['p.rowid']['checked'])) {
print '
';
@@ -1272,7 +1272,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// (Last) Name
if (!empty($arrayfields['p.lastname']['checked'])) {
print ' | ';
@@ -1282,7 +1282,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Firstname
if (!empty($arrayfields['p.firstname']['checked'])) {
print ' | '.dol_escape_htmltag($obj->firstname).' | ';
@@ -1290,7 +1290,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Job position
if (!empty($arrayfields['p.poste']['checked'])) {
print ''.dol_escape_htmltag($obj->poste).' | ';
@@ -1298,7 +1298,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Address
if (!empty($arrayfields['p.address']['checked'])) {
print ''.dol_escape_htmltag($obj->address).' | ';
@@ -1306,7 +1306,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Zip
if (!empty($arrayfields['p.zip']['checked'])) {
print ''.dol_escape_htmltag($obj->zip).' | ';
@@ -1314,7 +1314,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Town
if (!empty($arrayfields['p.town']['checked'])) {
print ''.dol_escape_htmltag($obj->town).' | ';
@@ -1322,7 +1322,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
/*
// State
if (!empty($arrayfields['state.nom']['checked']))
@@ -1330,14 +1330,14 @@ while ($i < min($num, $limit)) {
print "".$obj->state_name." | \n";
if (! $i) $totalarray['nbfield']++;
}
-
+
// Region
if (!empty($arrayfields['region.nom']['checked']))
{
print "".$obj->region_name." | \n";
if (! $i) $totalarray['nbfield']++;
}*/
-
+
// Country
if (!empty($arrayfields['country.code_iso']['checked'])) {
print '';
@@ -1348,7 +1348,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Phone pro
if (!empty($arrayfields['p.phone']['checked'])) {
print ' | '.dol_print_phone($obj->phone_pro, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL', ' ', 'phone').' | ';
@@ -1356,7 +1356,7 @@ while ($i < min($num, $limit)) {
$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', ' ', 'phone').' | ';
@@ -1364,7 +1364,7 @@ while ($i < min($num, $limit)) {
$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', ' ', 'mobile').' | ';
@@ -1372,7 +1372,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Fax
if (!empty($arrayfields['p.fax']['checked'])) {
print ''.dol_print_phone($obj->fax, $obj->country_code, $obj->rowid, $obj->socid, 'AC_TEL', ' ', 'fax').' | ';
@@ -1380,7 +1380,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// EMail
if (!empty($arrayfields['p.email']['checked'])) {
print ''.dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 18, 0, 1).' | ';
@@ -1388,7 +1388,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// No EMail Subscription
if (!empty($arrayfields['unsubscribed']['checked'])) {
print '';
@@ -1402,7 +1402,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Social Networks
if (isModEnabled('socialnetworks')) {
foreach ($socialnetworks as $key => $value) {
@@ -1448,7 +1448,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Prospect Level
if (!empty($arrayfields['p.fk_prospectlevel']['checked'])) {
print ' | ';
@@ -1481,7 +1481,7 @@ while ($i < min($num, $limit)) {
// Extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
-
+
// Fields from hook
$parameters = array('arrayfields'=>$arrayfields, 'obj'=>$obj, 'i'=>$i, 'totalarray'=>&$totalarray);
$reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
@@ -1495,7 +1495,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Date modification
if (!empty($arrayfields['p.tms']['checked'])) {
print ' | ';
@@ -1505,7 +1505,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Status
if (!empty($arrayfields['p.statut']['checked'])) {
print ' | '.$contactstatic->getLibStatut(5).' | ';
@@ -1513,7 +1513,7 @@ while ($i < min($num, $limit)) {
$totalarray['nbfield']++;
}
}
-
+
// Import key
if (!empty($arrayfields['p.import_key']['checked'])) {
print '';
|