Changeset 7388


Ignore:
Timestamp:
10/25/10 15:07:19 (9 years ago)
Author:
plg
Message:

improve compatibility with multilinguale decsriptions made with Extended
Description plugin : map.php title and tooltip titles on markers

Location:
extensions/rv_gmaps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/map_data.php

    r6639 r7388  
    9090rvo( '{' ); 
    9191 
    92 rvo( "\ntitle: ".jsgm_str( strip_tags($page['title']) ) ); 
     92rvo( "\ntitle: ".jsgm_str( strip_tags(trigger_event('render_element_description', $page['title']) ) ) ); 
    9393rvo( ",\n" ); 
    9494 
     
    161161    rvo( "tn: ".jsgm_str( get_thumbnail_url( $img ) ) ); 
    162162    rvo( "," ); 
    163     rvo( "name: ".jsgm_str( $title ) ); 
     163    rvo( "name: ".jsgm_str( trigger_event('render_element_description', $title) ) ); 
    164164    rvo( "," ); 
    165165    rvo( "comment: ".jsgm_str( trigger_event('render_element_description', $img['comment']) ) ); 
  • extensions/rv_gmaps/trunk/mapl.php

    r6245 r7388  
    8787      'U_MAP' => rvm_make_map_index_url( array( 'category' => $category ) ), 
    8888      'URL' => make_index_url( array( 'category' => $category ) ), 
    89       'NAME' => $category['name'], 
     89      'NAME' => trigger_event('render_element_description', $category['name']), 
    9090      'TITLE' => l10n_dec( '%d image', '%d images', $category['counter'] ), 
    9191      'CLASS' => 'tagLevel'.$category['level'] 
Note: See TracChangeset for help on using the changeset viewer.