Changeset 34 for trunk/client


Ignore:
Timestamp:
Mar 19, 2010, 5:04:44 PM (15 years ago)
Author:
roby
Message:

widget: invertiti dx e sx, visualizzazione googlemaps

Location:
trunk/client
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/client/inc/javascript.php

    r2 r34  
    4848
    4949function googlemaps(){
    50 global $dbi,$prefix,$id_comune,$googlemaps,$op,$gkey;
     50global $dbi,$prefix,$id_comune,$googlemaps,$op,$gkey,$lang;
    5151# recupera gli inidirizzi
    5252    $id_sede=$_GET['id_sede'];
     
    5555    $sql = mysql_query("select indirizzo from ".$prefix."_ele_sede where id_sede='$id_sede'", $dbi);
    5656    list($indirizzo)=mysql_fetch_row($sql);
    57     $indirizzocomune="$indirizzo , $comune";
     57    $indirizzocomune="$indirizzo , $comune , $lang";
    5858# javascript per mappa
    5959$jsmaps ="
     
    6363
    6464 
    65   <script src=\"http://maps.google.com/maps?file=api&v=2&key=$gkey\"
     65  <script src=\"http://maps.google.com/maps?file=api&amp;v=2&amp;key=$gkey\"
    6666    type=\"text/javascript\"></script>
    6767  <script src=\"http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=$gkey\"
Note: See TracChangeset for help on using the changeset viewer.