Fix bad popup

This commit is contained in:
Laurent Destailleur 2020-10-12 12:33:58 +02:00
parent 45e2a6409e
commit d831edb481
2 changed files with 8 additions and 2 deletions

View File

@ -271,7 +271,7 @@ NoticePeriod=Notice period
NewByMonth=New by month NewByMonth=New by month
Emails=Emails Emails=Emails
EMailsSetup=Emails setup EMailsSetup=Emails setup
EMailsDesc=This page allows you to override your default PHP parameters for email sending. In most cases on Unix/Linux OS, the PHP setup is correct and these parameters are unnecessary. EMailsDesc=This page allows you to set parameters or options for email sending.
EmailSenderProfiles=Emails sender profiles EmailSenderProfiles=Emails sender profiles
EMailsSenderProfileDesc=You can keep this section empty. If you enter some emails here, they will be added to the list of possible senders into the combobox when your write a new email. EMailsSenderProfileDesc=You can keep this section empty. If you enter some emails here, they will be added to the list of possible senders into the combobox when your write a new email.
MAIN_MAIL_SMTP_PORT=SMTP/SMTPS Port (default value in php.ini: <b>%s</b>) MAIN_MAIL_SMTP_PORT=SMTP/SMTPS Port (default value in php.ini: <b>%s</b>)

View File

@ -437,7 +437,7 @@ if ($id > 0 || !empty($ref))
} }
} }
// Liste des contacts lies // List of contact line
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td>'.$langs->trans("Source").'</td>'; print '<td>'.$langs->trans("Source").'</td>';
print '<td>'.$langs->trans("ThirdParty").'</td>'; print '<td>'.$langs->trans("ThirdParty").'</td>';
@ -491,6 +491,9 @@ if ($id > 0 || !empty($ref))
$userstatic->firstname = $tab[$i]['firstname']; $userstatic->firstname = $tab[$i]['firstname'];
$userstatic->photo = $tab[$i]['photo']; $userstatic->photo = $tab[$i]['photo'];
$userstatic->login = $tab[$i]['login']; $userstatic->login = $tab[$i]['login'];
$userstatic->email = $tab[$i]['email'];
$userstatic->statut = $tab[$i]['statucontact'];
print $userstatic->getNomUrl(-1); print $userstatic->getNomUrl(-1);
} }
if ($tab[$i]['source'] == 'external') if ($tab[$i]['source'] == 'external')
@ -498,6 +501,9 @@ if ($id > 0 || !empty($ref))
$contactstatic->id = $tab[$i]['id']; $contactstatic->id = $tab[$i]['id'];
$contactstatic->lastname = $tab[$i]['lastname']; $contactstatic->lastname = $tab[$i]['lastname'];
$contactstatic->firstname = $tab[$i]['firstname']; $contactstatic->firstname = $tab[$i]['firstname'];
$contactstatic->email = $tab[$i]['email'];
$contactstatic->statut = $tab[$i]['statucontact'];
print $contactstatic->getNomUrl(1); print $contactstatic->getNomUrl(1);
} }
print '</td>'; print '</td>';