This commit is contained in:
Laurent Destailleur 2026-03-03 20:58:33 +01:00
parent eaf2faebdb
commit aaf64cf696
2 changed files with 5 additions and 1 deletions

View file

@ -620,7 +620,9 @@ if ($object->fetch($id) >= 0) {
print '<div class="tagtd center valignmiddle">';
if ($nbofrecipient === '' || $nbofrecipient >= 0) {
print $nbofrecipient;
if ($nbofrecipient !== '') {
print '<span class="badge badge-info">'.$nbofrecipient.'</span>';
}
} else {
print $langs->trans("Error").' '.img_error($obj->error);
}

View file

@ -321,8 +321,10 @@ class mailing_contacts1 extends MailingTargets
if (getDolGlobalInt('MAIN_MULTILANGS')) {
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
$formadmin = new FormAdmin($this->db);
$s .= '<span class="nowraponall">';
$s .= img_picto($langs->trans("DefaultLang"), 'language', 'class="pictofixedwidth"');
$s .= $formadmin->select_language(GETPOST('filter_lang', 'aZ09'), 'filter_lang', 0, array(), $langs->trans("DefaultLang"), 0, 0, '', 0, 0, 0, array(), 1);
$s .= '</span>';
}
return $s;