From 3c4a2c1d4196599c839df8523015ec0db5cb18a9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 16 Nov 2004 21:27:14 +0000 Subject: [PATCH] =?UTF-8?q?Suppression=20de=20l'acc=E9s=20par=20premi=E8re?= =?UTF-8?q?=20lettre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/clients.php | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/htdocs/comm/clients.php b/htdocs/comm/clients.php index 6d12fb5be85..f09dd0ecbb4 100644 --- a/htdocs/comm/clients.php +++ b/htdocs/comm/clients.php @@ -76,11 +76,11 @@ if ($socname) if ($sortorder == "") { - $sortorder="DESC"; + $sortorder="ASC"; } if ($sortfield == "") { - $sortfield="s.datec"; + $sortfield="s.nom"; } $sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit +1, $offset); @@ -93,27 +93,8 @@ if ($result) llxHeader(); - print_barre_liste("Liste des clients", $page, "clients.php","&begin=$begin",$sortfield,$sortorder,"",$num); - print '
'; - - print "| *\n| "; - for ($ij = 65 ; $ij < 91; $ij++) { - print ""; - - if ($begin == chr($ij) ) - { - print ">" . chr($ij) . "<" ; - } - else - { - print chr($ij); - } - print " | "; - } - print "
"; - $i = 0; $addu = "&page=$page&begin=$begin&search_nom=".$_GET["search_nom"];