From: Bharat M. <bh...@us...> - 2005-07-24 18:37:16
|
Update of /cvsroot/gallery/gallery2/themes/matrix In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16852/themes/matrix Modified Files: theme.inc Log Message: Fix GalleryTheme::loadTemplate to handle a page size of 0, and update the matrix/classic themes to explicitly require the 'childCount' data type (they are implicitly getting it when we do the page size calculation). Index: theme.inc =================================================================== RCS file: /cvsroot/gallery/gallery2/themes/matrix/theme.inc,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- theme.inc 21 Jul 2005 19:27:13 -0000 1.32 +++ theme.inc 24 Jul 2005 18:37:04 -0000 1.33 @@ -62,7 +62,7 @@ function showAlbumPage(&$template, $item, $params, $childIds) { $ret = $this->loadCommonTemplateData( $template, $item, $params, - array('owner', 'viewCount', 'descendentCount', 'parents', 'peers', + array('owner', 'viewCount', 'childCount', 'descendentCount', 'parents', 'peers', 'systemLinks', 'itemLinks', 'itemSummaries', 'permissions', 'itemDetailFiles', 'thumbnails', 'pageNavigator', 'jumpRange'), $childIds); |