Changeset 34


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

widget: invertiti dx e sx, visualizzazione googlemaps

Location:
trunk
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_widget.php

    r31 r34  
    128128            echo "<td><b> Titolo:</b> <input type=\"text\" name=\"titolo\" value=\"".$titolo."\"></td><td>";
    129129            $sel= ($row['pos_or']==1) ? "selected":"";
    130             echo "<b>Posizione :</b><select name=\"pos_or\"><option value=\"0\">Dx<option value=\"1\" $sel>Sx</select>
     130            echo "<b>Posizione :</b><select name=\"pos_or\"><option value=\"0\">Sx<option value=\"1\" $sel>Dx</select>
    131131            </td><td>
    132132           
  • trunk/admin/temi/facebook/menu.php

    r23 r34  
    77/************************************************************************/
    88
    9 if (!defined('MODULE_FILE')) {
     9if (!defined('ADMIN_FILE')) {
    1010    die ("You can't access this file directly...");
    1111}
  • trunk/admin/temi/facebook/tema.php

    r23 r34  
    11<?php
    22
    3 if (!defined('MODULE_FILE')) {
     3if (!defined('ADMIN_FILE')) {
    44    die ("Non puoi accedere al file direttamente...");
    55}
  • 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.