From 2ca3e3dd0bd41c9da8027dcb2b43728304ddd97e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 30 Jan 2005 21:39:36 +0000 Subject: [PATCH] =?UTF-8?q?New:=20Ajout=20d'un=20visuel=20sp=E9cifique=20p?= =?UTF-8?q?our=20les=20liens=20"contacts"=20et=20"soci=E9t=E9s".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/fiche.php | 14 +++++++------- htdocs/contact/index.php | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) 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="";