Permalink
Browse files

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
  • Loading branch information...
mistic100 committed Nov 13, 2012
1 parent 5b2c01a commit 470ac5b0774f95f4e7eea52ac830c066e203d3ee
Showing with 3 additions and 3 deletions.
  1. +3 −3 include/category_cats.inc.php
@@ -378,16 +378,16 @@
// 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,
) );

0 comments on commit 470ac5b

Please sign in to comment.