Changeset 28598 for extensions


Ignore:
Timestamp:
Jun 2, 2014, 9:39:24 PM (10 years ago)
Author:
rvelices
Message:

use trigger_change

Location:
extensions/rv_gmaps/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/include/functions_map.php

    r28498 r28598  
    439439    if ( isset($page['category']) )
    440440    {
    441       $page['title'] = trigger_event('render_category_name', $page['category']['name']);
     441      $page['title'] = trigger_change('render_category_name', $page['category']['name']);
    442442      $page['comment'] = $page['category']['comment'];
    443443    }
  • extensions/rv_gmaps/trunk/include/picture_map.inc.php

    r26331 r28598  
    2424  );
    2525
    26 add_event_handler( 'loc_end_picture', 'rvm_end_picture'  );
     26add_event_handler( 'loc_end_picture', 'rvm_end_picture' );
    2727
    2828
     
    3737      'U_NO_MAP' => duplicate_picture_url(),
    3838      'U_BLOWUP' => rvm_make_blowup_url( array('ll'=> array('lat'=>$picture['latitude'],'lon'=>$picture['longitude'])), array('start','box') ),
    39       'COMMENT_IMG' => trigger_event('render_element_description', $picture['comment'])
     39      'COMMENT_IMG' => trigger_change('render_element_description', $picture['comment'])
    4040    )
    4141  );
  • extensions/rv_gmaps/trunk/kml.php

    r26331 r28598  
    124124                $tpl_var = array(
    125125                                'NAME'    => $category['name'],
    126                                 'COMMENT' => trigger_event('render_category_literal_description', trigger_event('render_category_description', @$category['comment']) ),
     126                                'COMMENT' => trigger_change('render_category_literal_description', trigger_change('render_category_description', @$category['comment']) ),
    127127                                'U_CATEGORY' => make_index_url( array('category'=>$category) ),
    128128                                'U_KML'   => rvm_make_kml_index_url( array('section'=>'categories', 'category'=>$category) ),
  • extensions/rv_gmaps/trunk/map_data.php

    r28562 r28598  
    7777
    7878
    79 echo "{\ntitle:", jsgm_str( strip_tags(trigger_event('render_element_description', $page['title']) ) )
     79echo "{\ntitle:", jsgm_str( strip_tags(trigger_change('render_element_description', $page['title']) ) )
    8080  , ",\npage_url:", jsgm_str( duplicate_index_url( array('start'=>0) ) )
    8181  , ",\nblowup_url:", jsgm_str( rvm_duplicate_blowup_url( array('start'=>0) ) )
  • extensions/rv_gmaps/trunk/mapl.php

    r20461 r28598  
    8686      'U_MAP' => rvm_make_map_index_url( array( 'category' => $category ) ),
    8787      'URL' => make_index_url( array( 'category' => $category ) ),
    88       'NAME' => trigger_event('render_element_description', $category['name']),
     88      'NAME' => trigger_change('render_element_description', $category['name']),
    8989      'TITLE' => l10n_dec( '%d photo', '%d photos', $category['counter'] ),
    9090      'CLASS' => 'tagLevel'.$category['level']
     
    191191}
    192192$template->assign( array(
    193   'derivative_params' => trigger_event('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) ),
     193  'derivative_params' => trigger_change('get_index_derivative_params', ImageStdParams::get_by_type( pwg_get_session_var('index_deriv', IMG_THUMB) ) ),
    194194  'SHOW_THUMBNAIL_CAPTION' => false,
    195195        'thumbnails' => $tpl_thumbnails_var,
Note: See TracChangeset for help on using the changeset viewer.