Changeset 172 for trunk/globals


Ignore:
Timestamp:
12/01/2006 09:37:21 AM (5 years ago)
Author:
cirrus
Message:

Added: Google map api selection in the config file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/globals/functions.php

    r169 r172  
    345345        if ($gmap_key == '') return FALSE; 
    346346 
    347         $main->html->head->add_script("text/javascript", "http://".$vars['gmap']['server']."/maps?file=api&v=2&key=".$gmap_key); 
     347        $main->html->head->add_script("text/javascript", "http://".$vars['gmap']['server']."/maps?file=api&v=".$vars['gmap']['api']."&key=".$gmap_key); 
    348348        $main->html->head->add_script("text/javascript", $javascript); 
    349349        $main->html->head->add_extra( 
Note: See TracChangeset for help on using the changeset viewer.