From b77ab002bcf21deaa819af906f3ba136d047588f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 30 Jul 2004 08:10:37 +0000 Subject: [PATCH] Modif register_gloabl --- htdocs/comm/contact.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php index a9d9b970c02..f57334785ad 100644 --- a/htdocs/comm/contact.php +++ b/htdocs/comm/contact.php @@ -35,6 +35,7 @@ $sortorder=$_GET["sortorder"]; $sortfield=$_GET["sortfield"]; $page=$_GET["page"]; $socid=$_GET["socid"]; +$type=$_GET["type"]; /* @@ -127,7 +128,7 @@ if ($result) { $num = $db->num_rows(); - print_barre_liste("Liste des contacts $label",$page, "contact.php", "",$sortfield,$sortorder,"",$num); + print_barre_liste("Liste des contacts $label",$page, "contact.php", "&type=$type",$sortfield,$sortorder,"",$num); print "
"; @@ -158,11 +159,11 @@ if ($result) print ''; print '"; print ''; print "\n";
'; - print_liste_field_titre("Nom","contact.php","lower(p.name)", $begin); + print_liste_field_titre("Nom","contact.php","lower(p.name)", $begin,"&type=$type"); print ""; - print_liste_field_titre("Prénom","contact.php","lower(p.firstname)", $begin); + print_liste_field_titre("Prénom","contact.php","lower(p.firstname)", $begin,"&type=$type"); print ""; - print_liste_field_titre("Société","contact.php","lower(s.nom)", $begin); + print_liste_field_titre("Société","contact.php","lower(s.nom)", $begin,"&type=$type"); print "emailTéléphone