Changeset 4070


Ignore:
Timestamp:
10/20/09 21:38:48 (10 years ago)
Author:
rvelices
Message:

google maps api is loaded using the same language as piwigo

Location:
extensions/rv_gmaps/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/changelog.txt

    r3447 r4070  
     12.0.c 
     2  - google maps api is loaded using the same language as piwigo 
     3  - polish and italian languages thanks to external contributors 
     4 
    152.0.b 
    26  - remove some unused/unnecessary php code 
  • extensions/rv_gmaps/trunk/main.inc.php

    r3447 r4070  
    11<?php /* 
    22Plugin Name: RV Maps&Earth 
    3 Version: 2.0.b 
     3Version: 2.0.c 
    44Description: Extend your gallery with Google Maps and Google Earth ... 
    5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=122 
     5Plugin URI: http://piwigo.org/ext/extension_view.php?eid=122 
    66Author: rvelices 
    77Author URI: http://www.modusoptimus.com/ 
    88*/ 
    9 define( 'RVM_PLUGIN_VERSION', '2.0.b'); 
     9define( 'RVM_PLUGIN_VERSION', '2.0.c'); 
    1010if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1111 
  • extensions/rv_gmaps/trunk/template/map.tpl

    r3447 r4070  
    1919<![endif]--> 
    2020 
    21 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$GMAPS_API_KEY}" type="text/javascript"></script> 
     21<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$GMAPS_API_KEY}&amp;hl={$lang_info.code}" type="text/javascript"></script> 
    2222<script src="{$PLUGIN_ROOT_URL}/template/data_loader.js?v={$RVM_PLUGIN_VERSION}" type="text/javascript"></script> 
    2323<script src="{$PLUGIN_ROOT_URL}/template/data_handler.js?v={$RVM_PLUGIN_VERSION}" type="text/javascript"></script> 
  • extensions/rv_gmaps/trunk/template/picture_map_content.tpl

    r3447 r4070  
    11{html_head} 
    2 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$GMAPS_API_KEY}" type="text/javascript"></script> 
     2<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$GMAPS_API_KEY}&amp;hl={$lang_info.code}" type="text/javascript"></script> 
    33<script src="{$PLUGIN_ROOT_URL}/template/windows_13/javascripts/prototype.js" type="text/javascript"></script> 
    44<script src="{$PLUGIN_ROOT_URL}/template/windows_13/javascripts/window.js" type="text/javascript" defer="defer"></script> 
Note: See TracChangeset for help on using the changeset viewer.