diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index d63720ab435..952952eec19 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -25,6 +25,9 @@ require("./pre.inc.php"); require("../contact.class.php"); require (DOL_DOCUMENT_ROOT."/lib/vcard/vcard.class.php"); +$langs->load("company"); + + $error = array(); @@ -172,16 +175,22 @@ if ($_GET["action"] == 'create') if ($_GET["socid"] > 0) { - print 'Société'.$objsoc->nom.''; + print ''.$langs->trans("Company").''.$objsoc->nom.''; print ''; + print ''; } + else { + print ''.$langs->trans("Company").''; + print $form->select_societes('','socid'); + print ''; + } print 'Titre'; print $form->select_civilite($obj->civilite); print ''; - print 'Nom'; - print 'Prenom'; + print ''.$langs->trans("LastName").''; + print ''.$langs->trans("FirstName").''; print 'Tel Pro'; @@ -189,14 +198,14 @@ if ($_GET["action"] == 'create') print 'Tel Perso'; - print 'Adresse'; + print ''.$langs->trans("Address").''; print 'Portable'; - print 'CP Ville '; + print ''.$langs->trans("Company").' / '.$langs->trans("Town").' '; - print 'Fax'; - print 'Email'; + print ''.$langs->trans("Fax").''; + print ''.$langs->trans("Email").''; print 'Jabberid'; @@ -204,7 +213,7 @@ if ($_GET["action"] == 'create') // print $form->select_date('','birthday',0,0,1); // print ''; - print 'Note'; + print ''.$langs->trans("Note").''; print ''; print ""; print "";