dolibarr-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-cvs] dolibarr/htdocs commclients.php comm/prospect/p...


From: Regis Houssin
Subject: [Dolibarr-cvs] dolibarr/htdocs commclients.php comm/prospect/p...
Date: Wed, 14 Jun 2006 08:40:22 +0000

CVSROOT:        /cvsroot/dolibarr
Module name:    dolibarr
Changes by:     Regis Houssin <hregis>  06/06/14 08:40:19

Modified files:
        htdocs/comm    : clients.php 
        htdocs/comm/prospect: prospects.php 
        htdocs/contact : index.php 
        htdocs/product : liste.php 

Log message:
        ajout des flèches en bas de page pour éviter de remonter à chaque fois 
si les listes
         sont trop longue

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/comm/clients.php?cvsroot=dolibarr&r1=1.39&r2=1.40
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/comm/prospect/prospects.php?cvsroot=dolibarr&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/contact/index.php?cvsroot=dolibarr&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/product/liste.php?cvsroot=dolibarr&r1=1.50&r2=1.51

Patches:
Index: comm/clients.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/comm/clients.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- comm/clients.php    20 May 2006 09:19:20 -0000      1.39
+++ comm/clients.php    14 Jun 2006 08:40:11 -0000      1.40
@@ -16,7 +16,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: clients.php,v 1.39 2006/05/20 09:19:20 eldy Exp $
+ * $Id: clients.php,v 1.40 2006/06/14 08:40:11 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/comm/clients.php,v $
  */
 
@@ -24,7 +24,7 @@
    \file       htdocs/comm/clients.php
    \ingroup    commercial, societe
    \brief      Liste des clients
-   \version    $Revision: 1.39 $
+   \version    $Revision: 1.40 $
 */
 
 require("./pre.inc.php");
@@ -151,6 +151,7 @@
                print "</td></tr>\n";
                $i++;
        }
+       print_barre_liste($langs->trans("ListOfCustomers"), $page, 
$_SERVER["PHP_SELF"],'',$sortfield,$sortorder,'',$num);
        print "</table>";
        $db->free($result);
 }
@@ -161,5 +162,5 @@
 
 $db->close();
 
-llxFooter('$Date: 2006/05/20 09:19:20 $ - $Revision: 1.39 $');
+llxFooter('$Date: 2006/06/14 08:40:11 $ - $Revision: 1.40 $');
 ?>

Index: comm/prospect/prospects.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/comm/prospect/prospects.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- comm/prospect/prospects.php 25 May 2006 19:36:17 -0000      1.41
+++ comm/prospect/prospects.php 14 Jun 2006 08:40:15 -0000      1.42
@@ -16,7 +16,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: prospects.php,v 1.41 2006/05/25 19:36:17 eldy Exp $
+ * $Id: prospects.php,v 1.42 2006/06/14 08:40:15 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/comm/prospect/prospects.php,v $
  */
 
@@ -24,7 +24,7 @@
            \file       htdocs/comm/prospect/prospects.php
         \ingroup    prospect
                \brief      Page de la liste des prospects
-               \version    $Revision: 1.41 $
+               \version    $Revision: 1.42 $
 */
 
 require("./pre.inc.php");
@@ -198,6 +198,9 @@
         print "</tr>\n";
         $i++;
     }
+    
+    print_barre_liste($langs->trans("ListOfProspects"), $page, 
$_SERVER["PHP_SELF"],$urladd,$sortfield,$sortorder,'',$num);
+    
     print "</table>";
     $db->free($resql);
 }
@@ -208,5 +211,5 @@
 
 $db->close();
 
-llxFooter('$Date: 2006/05/25 19:36:17 $ - $Revision: 1.41 $');
+llxFooter('$Date: 2006/06/14 08:40:15 $ - $Revision: 1.42 $');
 ?>

Index: contact/index.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/contact/index.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- contact/index.php   10 Mar 2006 00:33:37 -0000      1.43
+++ contact/index.php   14 Jun 2006 08:40:16 -0000      1.44
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: index.php,v 1.43 2006/03/10 00:33:37 eldy Exp $
+ * $Id: index.php,v 1.44 2006/06/14 08:40:16 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/contact/index.php,v $
  */
 
@@ -25,7 +25,7 @@
            \file       htdocs/contact/index.php
         \ingroup    societe
                \brief      Page liste des contacts
-               \version    $Revision: 1.43 $
+               \version    $Revision: 1.44 $
 */
 
 require("./pre.inc.php");
@@ -277,6 +277,9 @@
         print "</tr>\n";
         $i++;
     }
+    
+    print_barre_liste($titre ,$page, "index.php", 
'&amp;begin='.$begin.'&amp;view='.$_GET["view"].'&amp;userid='.$_GET["userid"], 
$sortfield, $sortorder,'',$num);
+    
     print "</table>";
 
     print '</form>';
@@ -292,5 +295,5 @@
 
 $db->close();
 
-llxFooter('$Date: 2006/03/10 00:33:37 $ - $Revision: 1.43 $');
+llxFooter('$Date: 2006/06/14 08:40:16 $ - $Revision: 1.44 $');
 ?>

Index: product/liste.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/product/liste.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- product/liste.php   1 Apr 2006 13:34:35 -0000       1.50
+++ product/liste.php   14 Jun 2006 08:40:18 -0000      1.51
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: liste.php,v 1.50 2006/04/01 13:34:35 eldy Exp $
+ * $Id: liste.php,v 1.51 2006/06/14 08:40:18 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/product/liste.php,v $
  */
 
@@ -25,7 +25,7 @@
            \file       htdocs/product/liste.php
         \ingroup    produit
                \brief      Page liste des produits ou services
-               \version    $Revision: 1.50 $
+               \version    $Revision: 1.51 $
 */
 
 require("./pre.inc.php");
@@ -261,6 +261,16 @@
         print "</tr>\n";
         $i++;
     }
+    
+    if ($sref || $snom || $_POST["sall"] || $_POST["search"])
+    {
+        print_barre_liste($texte, $page, "liste.php", 
"&sref=".$sref."&snom=".$snom."&amp;envente=".$_POST["envente"], $sortfield, 
$sortorder,'',$num);
+    }
+    else
+    {
+        print_barre_liste($texte, $page, "liste.php", 
"&sref=$sref&snom=$snom&fourn_id=$fourn_id".(isset($type)?"&amp;type=$type":""),
 $sortfield, $sortorder,'',$num);
+    }
+    
     $db->free($resql);
 
     print "</table>";
@@ -274,5 +284,5 @@
 
 $db->close();
 
-llxFooter('$Date: 2006/04/01 13:34:35 $ - $Revision: 1.50 $');
+llxFooter('$Date: 2006/06/14 08:40:18 $ - $Revision: 1.51 $');
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]