From ef58786a5fa7a0a4fcf1807eaf501f8ce9581ffc Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 14 Jan 2005 10:15:41 +0000 Subject: [PATCH] Modif du bouton ajout de contact --- htdocs/comm/prospect/fiche.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index 3b375da7a02..bff9b010904 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -49,9 +49,6 @@ if ($_GET["action"] == 'cstc') $db->query($sql); } -llxHeader(); - - /* * Sécurité si un client essaye d'accéder à une autre fiche que la sienne */ @@ -61,6 +58,8 @@ if ($user->societe_id > 0) } +llxHeader(); + /********************************************************************************* * * Mode fiche @@ -84,7 +83,7 @@ if ($socid > 0) { $h=0; $head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id; - $head[$h][1] = "Fiche société"; + $head[$h][1] = "Société"; $h++; $head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id; @@ -224,6 +223,8 @@ if ($socid > 0) print '
'; + print ''.$langs->trans("AddContact").''; + print ''.$langs->trans("AddAction").''; @@ -231,13 +232,13 @@ if ($socid > 0) { print ''.$langs->trans("AddProp").''; } - + if ($conf->projet->enabled && $user->rights->projet->creer) { print ''.$langs->trans("AddProject").''; } print '
'; - + print '
'; /* @@ -250,7 +251,7 @@ if ($socid > 0) print ''.$langs->trans("Firstname").' '.$langs->trans("Name").''; print 'Poste'.$langs->trans("Tel").''; print ''.$langs->trans("Fax").''.$langs->trans("EMail").''; - print "id&action=create\">".$langs->trans("Add").""; + print ' '; $sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $societe->id ORDER by p.datec"; $result = $db->query($sql);