diff options
author | mistic100 <mistic@piwigo.org> | 2012-11-13 12:05:52 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-11-13 12:05:52 +0000 |
commit | 470ac5b0774f95f4e7eea52ac830c066e203d3ee (patch) | |
tree | bd73aa195d13399e3d90647be628adb33f5f92cb /include | |
parent | 5b2c01a57d289e973eab7ddcf3b1acc2730c6958 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | include/category_cats.inc.php | 6 |
1 files 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, ) ); |