Ignore:
Timestamp:
Jun 2, 2014, 9:55:46 AM (10 years ago)
Author:
mistic100
Message:

feature 3010 : replace trigger_action/event by trigger_notify/change

File:
1 edited

Legend:

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

    r27369 r28587  
    3636  );
    3737
    38 $selection = trigger_event('loc_index_thumbnails_selection', $selection);
     38$selection = trigger_change('loc_index_thumbnails_selection', $selection);
    3939
    4040if (count($selection) > 0)
     
    9292$template->set_filenames( array( 'index_thumbnails' => 'thumbnails.tpl',));
    9393
    94 trigger_action('loc_begin_index_thumbnails', $pictures);
     94trigger_notify('loc_begin_index_thumbnails', $pictures);
    9595$tpl_thumbnails_var = array();
    9696
     
    153153
    154154$template->assign( array(
    155   'derivative_params' => trigger_event('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) ),
     155  'derivative_params' => trigger_change('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) ),
    156156  'maxRequests' =>$conf['max_requests'],
    157157  'SHOW_THUMBNAIL_CAPTION' =>$conf['show_thumbnail_caption'],
    158158    ) );
    159 $tpl_thumbnails_var = trigger_event('loc_end_index_thumbnails', $tpl_thumbnails_var, $pictures);
     159$tpl_thumbnails_var = trigger_change('loc_end_index_thumbnails', $tpl_thumbnails_var, $pictures);
    160160$template->assign('thumbnails', $tpl_thumbnails_var);
    161161
Note: See TracChangeset for help on using the changeset viewer.