appdb/include objectManager.php
WineHQ
wineowner at wine.codeweavers.com
Mon Jun 11 19:36:29 CDT 2007
ChangeSet ID: 31188
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/06/11 19:36:29
Modified files:
include : objectManager.php
Log message:
Chris Morgan <cmorgan at alum.wpi.edu>
Pass a valid $iPageRange into display_page_range(), otherwise display_page_range() behaves
improperly
Patch: http://cvs.winehq.org/patch.py?id=31188
Old revision New revision Changes Path
1.24 1.25 +1 -0 appdb/include/objectManager.php
Index: appdb/include/objectManager.php
diff -u -p appdb/include/objectManager.php:1.24 appdb/include/objectManager.php:1.25
--- appdb/include/objectManager.php:1.24 12 Jun 2007 0:36:29 -0000
+++ appdb/include/objectManager.php 12 Jun 2007 0:36:29 -0000
@@ -580,6 +580,7 @@ class ObjectManager
echo "<b>Page $iPage of $iNumPages</b><br />";
/* Page controls */
+ $iPageRange = 7; // the number of page links we want to display
display_page_range($iPage, $iPageRange, $iNumPages, $this->makeUrl()."&iItemsPerPage=".
"$iItemsPerPage");
More information about the wine-cvs
mailing list