diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 43a50c21335..ea589ff27f2 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -227,7 +227,7 @@ if ($socid > 0) print ''.$langs->trans("Phone").''.$societe->tel.' Fax'.$societe->fax.' '; print ''.$langs->trans("Web")."url\">$societe->url "; - print ''.$langs->trans("ProfIdSiren").''.$societe->siren.' '; + print ''.$langs->trans("ProfIdSiren").''.$societe->siren.' '; print ''.$langs->trans("Prefix").''; if ($societe->prefix_comm) { @@ -422,15 +422,15 @@ if ($socid > 0) print ''; print ''; - print img_file(); + print img_object($langs->trans("Show"),"contact"); print ' '.$obj->firstname.' '. $obj->name.' '; - if ($obj->note) + if (trim($obj->note)) { - print "
".nl2br($obj->note); + print '
'.nl2br(trim($obj->note)); } - print ""; - print "$obj->poste "; + print ''; + print ''.$obj->poste.' '; print ''.$obj->phone.' '; print ''.$obj->fax.' '; print ''.$obj->email.' '; @@ -441,7 +441,7 @@ if ($socid > 0) print ''; print ''; - print img_actions(); + print img_object($langs->trans("Rendez-Vous"),"action"); print ''; print "\n"; diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php index 675376f7764..0a86228081e 100644 --- a/htdocs/contact/index.php +++ b/htdocs/contact/index.php @@ -33,6 +33,7 @@ require("./pre.inc.php"); $langs->load("companies"); +$langs->load("suppliers"); /* @@ -78,7 +79,7 @@ if ($type == "c") { $text.=$langs->trans("Customers")." "; } if ($view == 'phone') { $text="(Vue Téléphones)"; } if ($view == 'mail') { $text="(Vue EMail)"; } if ($view == 'recent') { $text="(Récents)"; } -$titre = "Liste des contacts $text"; +$titre = $langs->trans("ListOfContacts").": $text"; if ($_POST["button_removefilter"] == $langs->trans("RemoveFilter")) { $search_nom="";