Changeset 6639


Ignore:
Timestamp:
06/30/10 15:26:11 (10 years ago)
Author:
plg
Message:

makes rv_gmaps compatible with ExtendedDescriptions at photo comment level

Location:
extensions/rv_gmaps/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/include/picture_map.inc.php

    r6245 r6639  
    3737      'U_NO_MAP' => duplicate_picture_url(), 
    3838      'U_BLOWUP' => rvm_make_blowup_url( array('ll'=>$picture), array('start','box') ), 
    39       'COMMENT_IMG' => nl2br($picture['comment']) 
     39      'COMMENT_IMG' => trigger_event('render_element_description', $picture['comment']) 
    4040    ) 
    4141  ); 
  • extensions/rv_gmaps/trunk/kml.php

    r6245 r6639  
    158158      'TN_SRC'  => get_thumbnail_url($img), 
    159159      'TITLE'  => $title, 
    160       'DESCRIPTION'  => $img['comment'], 
     160      'DESCRIPTION'  => trigger_event('render_element_description', $img['comment']), 
    161161      'LAT'   => $img['lat'], 
    162162      'LON'   => $img['lon'], 
  • extensions/rv_gmaps/trunk/map_data.php

    r3447 r6639  
    163163    rvo( "name: ".jsgm_str( $title ) ); 
    164164    rvo( "," ); 
    165     rvo( "comment: ".jsgm_str( $img['comment'] ) ); 
     165    rvo( "comment: ".jsgm_str( trigger_event('render_element_description', $img['comment']) ) ); 
    166166    rvo( "," ); 
    167167    rvo( "page_url: ".jsgm_str( $page_url ) ); 
Note: See TracChangeset for help on using the changeset viewer.