From c8fdad07db55399b1bb10dfdbe4b05ce7cc86ce1 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 15 Nov 2004 14:20:16 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=E0=20jour=20des=20url=20dans=20les=20on?= =?UTF-8?q?glets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/contact/fiche.php | 47 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index a14c4da65e4..45c55688c06 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -142,31 +142,30 @@ $form = new Form($db); */ if ($_GET["id"] > 0) { - # Si edition contact deja existant + // Si edition contact deja existant - $contact = new Contact($db); - $contact->fetch($_GET["id"], $user); - - - $h=0; - $head[$h][0] = DOL_URL_ROOT.'fiche.php?id='.$_GET["id"]; - $head[$h][1] = "Général"; - $hselected=$h; - $h++; - - $head[$h][0] = DOL_URL_ROOT.'perso.php?id='.$_GET["id"]; - $head[$h][1] = 'Informations personnelles'; - $h++; - - $head[$h][0] = DOL_URL_ROOT.'vcard.php?id='.$_GET["id"]; - $head[$h][1] = $langs->trans("VCard"); - $h++; - - $head[$h][0] = DOL_URL_ROOT.'info.php?id='.$_GET["id"]; - $head[$h][1] = $langs->trans("Info"); - $h++; - - dolibarr_fiche_head($head, $hselected, $contact->firstname.' '.$contact->name); + $contact = new Contact($db); + $contact->fetch($_GET["id"], $user); + + $h=0; + $head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"]; + $head[$h][1] = "Général"; + $hselected=$h; + $h++; + + $head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"]; + $head[$h][1] = 'Informations personnelles'; + $h++; + + $head[$h][0] = DOL_URL_ROOT.'/contact/vcard.php?id='.$_GET["id"]; + $head[$h][1] = $langs->trans("VCard"); + $h++; + + $head[$h][0] = DOL_URL_ROOT.'/contact/info.php?id='.$_GET["id"]; + $head[$h][1] = $langs->trans("Info"); + $h++; + + dolibarr_fiche_head($head, $hselected, $contact->firstname.' '.$contact->name); }