From 370620bb5239651d88b986c2d24851a8ad2eb4c0 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 14 Jun 2006 08:40:11 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20des=20fl=E8ches=20en=20bas=20de=20page?= =?UTF-8?q?=20pour=20=E9viter=20de=20remonter=20=E0=20chaque=20fois=20si?= =?UTF-8?q?=20les=20listes=20=20sont=20trop=20longue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/clients.php | 1 + htdocs/comm/prospect/prospects.php | 3 +++ htdocs/contact/index.php | 3 +++ htdocs/product/liste.php | 10 ++++++++++ 4 files changed, 17 insertions(+) diff --git a/htdocs/comm/clients.php b/htdocs/comm/clients.php index 2cd7ab62416..b334b8374b8 100644 --- a/htdocs/comm/clients.php +++ b/htdocs/comm/clients.php @@ -151,6 +151,7 @@ if ($result) print "\n"; $i++; } + print_barre_liste($langs->trans("ListOfCustomers"), $page, $_SERVER["PHP_SELF"],'',$sortfield,$sortorder,'',$num); print ""; $db->free($result); } diff --git a/htdocs/comm/prospect/prospects.php b/htdocs/comm/prospect/prospects.php index 3b6109cac8f..e663515dae0 100644 --- a/htdocs/comm/prospect/prospects.php +++ b/htdocs/comm/prospect/prospects.php @@ -198,6 +198,9 @@ if ($resql) print "\n"; $i++; } + + print_barre_liste($langs->trans("ListOfProspects"), $page, $_SERVER["PHP_SELF"],$urladd,$sortfield,$sortorder,'',$num); + print ""; $db->free($resql); } diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php index 32975b9f5bf..76cd3cb5ed0 100644 --- a/htdocs/contact/index.php +++ b/htdocs/contact/index.php @@ -277,6 +277,9 @@ if ($result) print "\n"; $i++; } + + print_barre_liste($titre ,$page, "index.php", '&begin='.$begin.'&view='.$_GET["view"].'&userid='.$_GET["userid"], $sortfield, $sortorder,'',$num); + print ""; print ''; diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index 720dfa23028..5e86508576b 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -261,6 +261,16 @@ if ($resql) print "\n"; $i++; } + + if ($sref || $snom || $_POST["sall"] || $_POST["search"]) + { + print_barre_liste($texte, $page, "liste.php", "&sref=".$sref."&snom=".$snom."&envente=".$_POST["envente"], $sortfield, $sortorder,'',$num); + } + else + { + print_barre_liste($texte, $page, "liste.php", "&sref=$sref&snom=$snom&fourn_id=$fourn_id".(isset($type)?"&type=$type":""), $sortfield, $sortorder,'',$num); + } + $db->free($resql); print "";