[AppDB] Fix administration of screenshots so it displays more than
page 1 (Gah!)
Tony Lambregts
tony.lambregts at gmail.com
Thu Jul 28 20:23:58 CDT 2005
The page for Administrating screenshots only lets you see the first page but
there are lots more to see.
Change Log: Fix administration of screenshots so it displays more than page 1.
Files Changed: admin/adminScreenshots.php
-------------- next part --------------
Index: admin/adminScreenshots.php
===================================================================
RCS file: /home/wine/appdb/admin/adminScreenshots.php,v
retrieving revision 1.4
diff -u -r1.4 adminScreenshots.php
--- admin/adminScreenshots.php 26 Jul 2005 03:54:06 -0000 1.4
+++ admin/adminScreenshots.php 29 Jul 2005 01:13:17 -0000
@@ -69,7 +69,7 @@
$currentPage = $_REQUEST['page'];
$ItemsPerPage = min($ItemsPerPage,100);
-$totalPages = max(ceil($BugLinks/$ItemsPerPage),1);
+$totalPages = ceil(getNumberOfImages()/$ItemsPerPage);
$currentPage = min($currentPage,$totalPages);
$offset = (($currentPage-1) * $ItemsPerPage);
More information about the wine-patches
mailing list