diff --git a/htdocs/comm/contact.php3 b/htdocs/comm/contact.php3 index a0b23cdc4ef..a77a88e1d2b 100644 --- a/htdocs/comm/contact.php3 +++ b/htdocs/comm/contact.php3 @@ -46,7 +46,7 @@ if ($page == -1) { $page = 0 ; } $limit = $conf->liste_limit; $offset = $limit * $page ; -print_barre_liste("Liste des contacts",$page, $PHP_SELF); +print_barre_liste("Liste des contacts",$page, $PHP_SELF,"",$sortfield,$sortorder); /* @@ -99,10 +99,13 @@ if ($result) { $sortorder="DESC"; } - print "
| Nom | "; - print "Prénom | "; + print " | "; + print_liste_field_titre("Nom",$PHP_SELF,"lower(p.name)", $begin); + print " | "; + print_liste_field_titre("Prénom",$PHP_SELF,"lower(p.firstname)", $begin); + print " | "; print_liste_field_titre("Société",$PHP_SELF,"lower(s.nom)", $begin); print " | Téléphone | '; @@ -119,7 +122,7 @@ if ($result) print " | $obj->name | "; print "$obj->firstname | "; - print ' ';
+ print ' | ';
print "idp\">$obj->nom | \n";
print ''.$obj->email.' | ';