Changeset 16988 for branches/2.4/include


Ignore:
Timestamp:
Jul 24, 2012, 10:48:44 PM (12 years ago)
Author:
rvelices
Message:

Merged revision(s) 16986-16987 from trunk: refactor code when selected derivative on index page is changed by a plugin ...
fix ie7 display and unwanted text in print

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/include/category_default.inc.php

    r13234 r16988  
    152152}
    153153
    154 $derivative_params = trigger_event('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) );
    155 
    156154$template->assign( array(
    157   'derivative_params' =>$derivative_params,
     155  'derivative_params' => trigger_event('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) ),
    158156  'SHOW_THUMBNAIL_CAPTION' =>$conf['show_thumbnail_caption'],
    159157    ) );
     
    163161$template->assign_var_from_handle('THUMBNAILS', 'index_thumbnails');
    164162unset($pictures, $selection, $tpl_thumbnails_var);
    165 $template->clear_assign( array('thumbnails', 'derivative_params') );
     163$template->clear_assign( 'thumbnails' );
    166164pwg_debug('end include/category_default.inc.php');
    167165?>
Note: See TracChangeset for help on using the changeset viewer.