From 470ac5b0774f95f4e7eea52ac830c066e203d3ee Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 13 Nov 2012 12:05:52 +0000 Subject: feature:2614 pagination on albums, change var name to allow redefinition git-svn-id: http://piwigo.org/svn/trunk@19002 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_cats.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php index de4db7518..256b9caa8 100644 --- a/include/category_cats.inc.php +++ b/include/category_cats.inc.php @@ -378,16 +378,16 @@ if (count($categories) > 0) // pagination $page['total_categories'] = count($tpl_thumbnails_var); - $tpl_thumbnails_var = array_slice( + $tpl_thumbnails_var_selection = array_slice( $tpl_thumbnails_var, $page['startcat'], $conf['nb_categories_page'] ); $derivative_params = trigger_event('get_index_album_derivative_params', ImageStdParams::get_by_type(IMG_THUMB) ); - $tpl_thumbnails_var = trigger_event('loc_end_index_category_thumbnails', $tpl_thumbnails_var); + $tpl_thumbnails_var_selection = trigger_event('loc_end_index_category_thumbnails', $tpl_thumbnails_var_selection); $template->assign( array( - 'category_thumbnails' => $tpl_thumbnails_var, + 'category_thumbnails' => $tpl_thumbnails_var_selection, 'derivative_params' => $derivative_params, ) ); -- cgit v1.2.3