[pLog-svn] r6069 - plog/trunk/class/view/admin
mark at devel.lifetype.net
mark at devel.lifetype.net
Thu Nov 22 01:40:50 EST 2007
Author: mark
Date: 2007-11-22 01:40:49 -0500 (Thu, 22 Nov 2007)
New Revision: 6069
Modified:
plog/trunk/class/view/admin/adminresourceslistview.class.php
Log:
Change the DEFAULT_ITEMS_PER_PAGE to DEFAULT_RESOURCES_PER_PAGE, I suppose we should use this one.
Modified: plog/trunk/class/view/admin/adminresourceslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminresourceslistview.class.php 2007-11-22 06:25:19 UTC (rev 6068)
+++ plog/trunk/class/view/admin/adminresourceslistview.class.php 2007-11-22 06:40:49 UTC (rev 6069)
@@ -1,12 +1,4 @@
<?php
-
-
-
-
-
-
-
-
define( "ROOT_ALBUM_ID", 0 );
define( "DEFAULT_RESOURCES_PER_PAGE", 30 );
@@ -91,7 +83,7 @@
$this->_locationId );
// create and export the pager
- $pager = new Pager( $this->_pagerUrl, $this->_page, $numResources, DEFAULT_ITEMS_PER_PAGE );
+ $pager = new Pager( $this->_pagerUrl, $this->_page, $numResources, DEFAULT_RESOURCES_PER_PAGE );
if( isset( $this->_viewParams["gotoLastPage"] )) {
$pager->setCurPage( $pager->getEndPage());
$this->_page = $pager->getEndPage();
@@ -132,7 +124,7 @@
$resources = Array();
}
// create and export the pager
- $pager = new Pager( $this->_pagerUrl, $this->_page, $numResources, DEFAULT_ITEMS_PER_PAGE );
+ $pager = new Pager( $this->_pagerUrl, $this->_page, $numResources, DEFAULT_RESOURCES_PER_PAGE );
}
// get a list with the nested albums
More information about the pLog-svn
mailing list