mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean function addlink parameter (#28311)
This commit is contained in:
parent
61f571a367
commit
c3538ca361
|
|
@ -249,7 +249,7 @@ abstract class ActionsContactCardCommon
|
|||
$this->tpl['phone_perso'] = dol_print_phone($this->object->phone_perso, $this->object->country_code, 0, $this->object->id, 'AC_TEL');
|
||||
$this->tpl['phone_mobile'] = dol_print_phone($this->object->phone_mobile, $this->object->country_code, 0, $this->object->id, 'AC_TEL');
|
||||
$this->tpl['fax'] = dol_print_phone($this->object->fax, $this->object->country_code, 0, $this->object->id, 'AC_FAX');
|
||||
$this->tpl['email'] = dol_print_email($this->object->email, 0, $this->object->id, 'AC_EMAIL');
|
||||
$this->tpl['email'] = dol_print_email($this->object->email, 0, $this->object->id, 1);
|
||||
|
||||
$this->tpl['visibility'] = $this->object->LibPubPriv($this->object->priv);
|
||||
|
||||
|
|
|
|||
|
|
@ -1586,7 +1586,7 @@ while ($i < $imaxinloop) {
|
|||
if ($contextpage == 'poslist') {
|
||||
print $obj->email;
|
||||
} else {
|
||||
print dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 18, 0, 1);
|
||||
print dol_print_email($obj->email, $obj->rowid, $obj->socid, 1, 18, 0, 1);
|
||||
}
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
|
|
|
|||
|
|
@ -1183,7 +1183,7 @@ while ($i < $imaxinloop) {
|
|||
}
|
||||
// Email
|
||||
if (!empty($arrayfields['s.email']['checked'])) {
|
||||
print '<td class="tdoverflowmax200" title="'.dol_escape_htmltag($obj->email).'">'.dol_print_email($obj->email, 0, $obj->socid, 0, 0, 1, 1).'</td>';
|
||||
print '<td class="tdoverflowmax200" title="'.dol_escape_htmltag($obj->email).'">'.dol_print_email($obj->email, 0, $obj->socid, 1, 0, 1, 1).'</td>';
|
||||
}
|
||||
// Town
|
||||
if (!empty($arrayfields['s.town']['checked'])) {
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ abstract class ActionsCardCommon
|
|||
|
||||
$this->tpl['phone'] = dol_print_phone($this->object->phone, $this->object->country_code, 0, $this->object->id, 'AC_TEL');
|
||||
$this->tpl['fax'] = dol_print_phone($this->object->fax, $this->object->country_code, 0, $this->object->id, 'AC_FAX');
|
||||
$this->tpl['email'] = dol_print_email($this->object->email, 0, $this->object->id, 'AC_EMAIL');
|
||||
$this->tpl['email'] = dol_print_email($this->object->email, 0, $this->object->id, 1);
|
||||
$this->tpl['url'] = dol_print_url($this->object->url);
|
||||
|
||||
$this->tpl['tva_assuj'] = yn($this->object->tva_assuj);
|
||||
|
|
|
|||
|
|
@ -1902,7 +1902,7 @@ while ($i < $imaxinloop) {
|
|||
}
|
||||
}
|
||||
if (!empty($arrayfields['s.email']['checked'])) {
|
||||
print '<td class="tdoverflowmax150">'.dol_print_email($obj->email, $obj->rowid, $obj->rowid, 'AC_EMAIL', 0, 0, 1)."</td>\n";
|
||||
print '<td class="tdoverflowmax150">'.dol_print_email($obj->email, $obj->rowid, $obj->rowid, 1, 0, 0, 1)."</td>\n";
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1180,7 +1180,7 @@ while ($i < $imaxinloop) {
|
|||
}
|
||||
}
|
||||
if (!empty($arrayfields['u.email']['checked'])) {
|
||||
print '<td class="tdoverflowmax150">'.dol_print_email($obj->email, $obj->rowid, $obj->fk_soc, 'AC_EMAIL', 0, 0, 1)."</td>\n";
|
||||
print '<td class="tdoverflowmax150">'.dol_print_email($obj->email, $obj->rowid, $obj->fk_soc, 1, 0, 0, 1)."</td>\n";
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user