Changeset 20983 for extensions
- Timestamp:
- Feb 23, 2013, 8:40:48 AM (12 years ago)
- Location:
- extensions/rv_gmaps/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/language/de_DE/lang.php
r17751 r20983 1 1 <?php 2 2 $lang['Map']='Karte'; 3 $lang['World map']='Weltkarte'; 3 4 4 5 $lang['displays %s on a map']='zeigt %s auf einer Karte an'; -
extensions/rv_gmaps/trunk/language/en_UK/lang.php
r17705 r20983 1 1 <?php 2 2 $lang['Map']='Map'; 3 $lang['World map']='World Map'; 3 4 4 5 $lang['displays %s on a map']='displays %s on a map'; -
extensions/rv_gmaps/trunk/language/es_ES/lang.php
r17799 r20983 1 1 <?php 2 2 $lang['Map']='Mapa'; 3 $lang['World map']='Mapa del mundo'; 3 4 4 5 $lang['displays %s on a map']='Visualizar %s sobre el mapa'; -
extensions/rv_gmaps/trunk/language/fr_FR/lang.php
r18537 r20983 1 1 <?php 2 2 $lang['Map']='Carte'; 3 $lang['World map']='Carte du monde'; 3 4 4 5 $lang['displays %s on a map']='afficher %s sur la carte'; -
extensions/rv_gmaps/trunk/main.inc.php
r18951 r20983 15 15 16 16 add_event_handler('picture_pictures_data', 'rvm_picture_pictures_data' ); 17 add_event_handler('blockmanager_apply', 'rvm_blockmanager_apply'); 17 18 18 19 global $rvm_dir; … … 113 114 } 114 115 116 function rvm_blockmanager_apply($mb_arr) 117 { 118 if ($mb_arr[0]->get_id() != 'menubar' ) 119 return; 120 if ( ($block=$mb_arr[0]->get_block('mbMenu')) != null ) 121 { 122 include_once( dirname(__FILE__) .'/include/functions.php'); 123 rvm_load_language(); 124 global $conf; 125 $link_title = sprintf( l10n('displays %s on a map'), strip_tags($conf['gallery_title']) ); 126 $block->data['rv_gmaps'] = array( 127 'URL' => rvm_make_map_index_url( array('section'=>'categories') ), 128 'TITLE' => $link_title, 129 'NAME' => l10n('World map'), 130 'REL'=> 'rel=nofollow' 131 ); 132 } 133 } 134 115 135 function rvm_format_exif($exif, $file, $map) 116 136 {
Note: See TracChangeset
for help on using the changeset viewer.