Changeset 19002


Ignore:
Timestamp:
Nov 13, 2012, 1:05:52 PM (8 years ago)
Author:
mistic100
Message:

feature:2614 pagination on albums, change var name to allow redefinition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_cats.inc.php

    r18924 r19002  
    379379  $page['total_categories'] = count($tpl_thumbnails_var);
    380380
    381   $tpl_thumbnails_var = array_slice(
     381  $tpl_thumbnails_var_selection = array_slice(
    382382    $tpl_thumbnails_var,
    383383    $page['startcat'],
     
    386386
    387387  $derivative_params = trigger_event('get_index_album_derivative_params', ImageStdParams::get_by_type(IMG_THUMB) );
    388   $tpl_thumbnails_var = trigger_event('loc_end_index_category_thumbnails', $tpl_thumbnails_var);
     388  $tpl_thumbnails_var_selection = trigger_event('loc_end_index_category_thumbnails', $tpl_thumbnails_var_selection);
    389389  $template->assign( array(
    390     'category_thumbnails' => $tpl_thumbnails_var,
     390    'category_thumbnails' => $tpl_thumbnails_var_selection,
    391391    'derivative_params' => $derivative_params,
    392392    ) );
Note: See TracChangeset for help on using the changeset viewer.