Changeset 15432


Ignore:
Timestamp:
05/30/12 07:57:34 (7 years ago)
Author:
psli
Message:

Pre-Version 2.0

Location:
extensions/Psli_BingMaps
Files:
3 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • extensions/Psli_BingMaps/JS/Psli-BingMaps.js

    r14891 r15432  
    22Plugin Name: Psli-BingMaps 
    33Author: psli  
    4 Description: Maintenance function for plugin "Psli-BingMaps" 
    54*/ 
    65 
     
    2221 
    2322/**************************************************************************/ 
    24 // JS Function used by admin script while setting up plugin 
    25 function psli_AdminUpdateMap() { 
    26         psli_g_MapCenter = new Microsoft.Maps.Location(document.getElementById("lat").value, document.getElementById("lon").value); 
    27         psli_g_zoomInitial = document.getElementById("zoom").value 
    28         var pin = new Microsoft.Maps.Pushpin(psli_g_MapCenter); 
     23// JS global function for Map 
     24function psli_InitMap() { 
     25        psli_g_Map = new Microsoft.Maps.Map(document.getElementById("myMap"), psli_g_MapOptions); 
     26        Microsoft.Maps.Events.addHandler(psli_g_Map, "viewchangeend", psli_MapViewChangeEnd); 
     27        psli_g_Map.setView({center: psli_g_MapCenter, zoom: psli_g_zoomInitial}); 
     28} 
     29         
     30function psli_MapViewChangeEnd () { 
    2931        psli_g_Map.entities.clear(); 
    30         psli_g_Map.entities.push(pin); 
     32        psli_g_Map.entities.push(psli_g_ZoomEntity[psli_g_Map.getZoom() - 1]); 
     33} 
     34                         
     35function psli_InitGuestMap() { 
     36    psli_g_mode = "guest"; 
    3137         
    32         psli_g_Map.setView({center: psli_g_MapCenter, zoom: psli_g_zoomInitial});        
    33 } 
    34  
    35 function psli_AdminMapClick(e) { 
    36         if (e.targetType == "map") { 
    37                 var psli_l_Point = new Microsoft.Maps.Point(e.getX(), e.getY()); 
    38                 psli_g_MapCenter = e.target.tryPixelToLocation(psli_l_Point); 
    39                 psli_g_zoomInitial = Math.round(psli_g_Map.getZoom()); 
    40                  
    41                 document.getElementById("lat").value = psli_g_MapCenter.latitude; 
    42                 document.getElementById("lon").value = psli_g_MapCenter.longitude; 
    43                 document.getElementById("zoom").value = psli_g_zoomInitial; 
    44                                  
    45                 var pin = new Microsoft.Maps.Pushpin(psli_g_MapCenter); 
    46                 psli_g_Map.entities.clear(); 
    47                 psli_g_Map.entities.push(pin); 
    48                  
    49                 psli_g_Map.setView({center: psli_g_MapCenter, zoom: psli_g_zoomInitial}); 
    50         } 
    51 } 
    52  
    53 function psli_InitAdminSetup () { 
    5438        psli_g_MapOptions = {  
    5539                credentials: psli_g_BingKey,  
     
    6246        }; 
    6347         
    64         psli_g_Map = new Microsoft.Maps.Map(document.getElementById("myMap"), psli_g_MapOptions); 
    65         Microsoft.Maps.Events.addHandler(psli_g_Map, "click", psli_AdminMapClick); 
    66         var pin = new Microsoft.Maps.Pushpin(psli_g_MapCenter); 
    67         psli_g_Map.entities.clear(); 
    68         psli_g_Map.entities.push(pin); 
    69         psli_g_Map.setView({center: psli_g_MapCenter, zoom: psli_g_zoomInitial}); 
    70 } 
    71          
    72 /**************************************************************************/ 
    73 // JS Function used by admin script while editing category location      
    74 function psli_MapsMouseOut (e) {  
    75          document.getElementById("Coordonates").innerHTML = ""; 
    76 } 
    77          
    78 function psli_InitGuestMap() 
    79 { 
    80         psli_g_MapOptions = {  
    81                 credentials: psli_g_BingKey,  
    82                 showDashboard:false, 
    83                 showMapTypeSelector:false, 
    84                 showScalebar:false, 
    85                 mapTypeId: Microsoft.Maps.MapTypeId.road, 
    86                 center: psli_g_MapCenter, 
    87                 zoom: psli_g_zoomInitial 
    88         }; 
    89          
    90         psli_g_Map = new Microsoft.Maps.Map(document.getElementById("myMap"), psli_g_MapOptions); 
    91         Microsoft.Maps.Events.addHandler(psli_g_Map, "viewchangeend", psli_ViewChangeEnd); 
     48        psli_InitMap();  
    9249        psli_g_Map.entities.clear(); 
    9350        psli_g_Map.entities.push(psli_g_ZoomEntity[psli_g_zoomInitial - 1]); 
    9451} 
    9552  
    96 function psli_ViewChangeEnd () { 
    97         psli_g_Map.entities.clear(); 
    98         psli_g_Map.entities.push(psli_g_ZoomEntity[psli_g_Map.getZoom() - 1]); 
     53function psli_MapsMouseOut (e) {  
     54         document.getElementById("Coordonates").innerHTML = ""; 
    9955} 
    100  
    101  
    102 /**************************************************************************/ 
    103 // JS Function used by admin script while editing category location 
    104 function psli_CopyInitial() { 
    105         psli_g_Vertice = new Array(); 
    106         for (var i = 0; i < psli_g_VerticeInitial.length; i++) 
    107         { 
    108                 psli_g_Vertice.push(psli_g_VerticeInitial[i]); 
    109         } 
    110 } 
    111  
    112 function psli_InitCategoryMap() { 
    113         if (document.getElementById("pslibingmapsentity").value == "--null--") 
    114         { 
    115                 document.getElementById("pslibingmapsselect").selectedIndex = 0; 
    116                 psli_g_MapOptions =  
    117                         {credentials: psli_g_BingKey,  
    118                          showDashboard:false, 
    119                          showMapTypeSelector:false, 
    120                          showScalebar:false, 
    121                          mapTypeId: Microsoft.Maps.MapTypeId.road, 
    122                          center: new Microsoft.Maps.Location(0,0), 
    123                          zoom:2 
    124                         }; 
    125         } 
    126         else 
    127         { 
    128                 document.getElementById("pslibingmapsselect").selectedIndex = document.getElementById("pslibingmapsaction").value; 
    129                 document.getElementById("pslibingmapsbuttonstart").disabled = false; 
    130                 psli_g_MapOptions =  
    131                         {credentials: psli_g_BingKey,  
    132                          showDashboard:false, 
    133                          showMapTypeSelector:false, 
    134                          showScalebar:false, 
    135                          mapTypeId: Microsoft.Maps.MapTypeId.road, 
    136                          center: new Microsoft.Maps.Location(document.getElementById("pslibingmapslat").value, document.getElementById("pslibingmapslon").value), 
    137                          zoom: parseInt(document.getElementById("pslibingmapsaction").value) 
    138                         }; 
    139                  
    140         } 
    141          
    142         psli_g_Map = new Microsoft.Maps.Map(document.getElementById("pslibingmapsmap"), psli_g_MapOptions); 
    143         Microsoft.Maps.Events.addHandler(psli_g_Map, "click", psli_MapClick);    
    144 } 
    145  
    146 function psli_SaveZone() { 
    147         var psli_l_ZoneCoordonates = "" 
    148         var psli_l_EntityId = document.getElementById("pslibingmapsentity").value; 
    149         if (psli_g_Vertice.length > 0) 
    150         { 
    151                 var psli_l_LastPoint = new Microsoft.Maps.Location(psli_g_Vertice[0].latitude, psli_g_Vertice[0].longitude); 
    152                 psli_g_Vertice.push(psli_l_LastPoint); 
    153                 var psli_l_Polygon = new Microsoft.Maps.Polygon(psli_g_Vertice,{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor}); 
    154                 psli_g_Map.entities.clear(); 
    155                 psli_g_Map.entities.push(psli_l_Polygon); 
    156                 for (var i = 0; i < psli_g_Vertice.length ; i++) 
    157                 { 
    158                         if (i != 0) 
    159                                 psli_l_ZoneCoordonates += ","; 
    160                         psli_l_ZoneCoordonates += "(" + psli_l_EntityId + ", " + psli_g_Vertice[i].latitude + ", " + psli_g_Vertice[i].longitude + ")"; 
    161                 } 
    162                 psli_l_ZoneCoordonates += ";" 
    163         } 
    164         else 
    165         { 
    166                 psli_l_ZoneCoordonates = "delete all"; 
    167         } 
    168         document.getElementById("pslibingmapszone").value = psli_l_ZoneCoordonates; 
    169         document.getElementById("pslibingmapsbuttonall").disabled = true; 
    170         document.getElementById("pslibingmapsbuttondelete").disabled = true; 
    171         document.getElementById("pslibingmapsbuttonsave").disabled = true; 
    172         document.getElementById("pslibingmapsbuttoncancel").disabled = true; 
    173         document.getElementById("pslibingmapsbuttonstart").disabled = false;     
    174  
    175         psli_g_ZoneDraw = false;         
    176 } 
    177  
    178 function psli_CancelZone() { 
    179         psli_g_ZoneDraw = false; 
    180         psli_CopyInitial(); 
    181         var psli_l_Polygon = new Microsoft.Maps.Polygon(psli_g_Vertice,{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor}); 
    182         psli_g_Map.entities.clear(); 
    183         psli_g_Map.entities.push(psli_l_Polygon); 
    184         document.getElementById("pslibingmapsbuttonall").disabled = true; 
    185         document.getElementById("pslibingmapsbuttondelete").disabled = true; 
    186         document.getElementById("pslibingmapsbuttonsave").disabled = true; 
    187         document.getElementById("pslibingmapsbuttoncancel").disabled = true; 
    188         document.getElementById("pslibingmapsbuttonstart").disabled = false;     
    189          
    190 } 
    191  
    192 function psli_StartZone() { 
    193         psli_g_ZoneDraw = true; 
    194         if (psli_g_VerticeInitial.length > 0) 
    195         { 
    196                 psli_CopyInitial(); 
    197                 var psli_l_Polygon = new Microsoft.Maps.Polygon(psli_g_Vertice,{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor}); 
    198                 psli_g_Map.entities.clear(); 
    199                 psli_g_Map.entities.push(psli_l_Polygon); 
    200         } 
    201         else 
    202         { 
    203                 psli_g_Vertice = new Array(); 
    204                 psli_g_Map.entities.clear(); 
    205         } 
    206         document.getElementById("pslibingmapsbuttonall").disabled = false; 
    207         document.getElementById("pslibingmapsbuttondelete").disabled = false; 
    208         document.getElementById("pslibingmapsbuttonsave").disabled = false; 
    209         document.getElementById("pslibingmapsbuttoncancel").disabled = false; 
    210         document.getElementById("pslibingmapsbuttonstart").disabled = true; 
    211          
    212 } 
    213                                  
    214 function psli_DeleteLast() { 
    215         if (psli_g_Vertice.length > 0)  
    216         { 
    217                 psli_g_Vertice.pop(); 
    218                 var psli_l_Polygon = new Microsoft.Maps.Polygon(psli_g_Vertice,{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor}); 
    219                 psli_g_Map.entities.clear(); 
    220                 psli_g_Map.entities.push(psli_l_Polygon); 
    221         } 
    222 } 
    223  
    224 function psli_DeleteAll() { 
    225         psli_g_Vertice = new Array(); 
    226         psli_g_Map.entities.clear(); 
    227 } 
    228  
    229 function psli_SetMinimum() { 
    230         document.getElementById("pslibingmapszoommin").value = psli_g_Map.getZoom(); 
    231 } 
    232  
    233 function psli_SetMaximum() { 
    234         document.getElementById("pslibingmapszoommax").value = psli_g_Map.getZoom(); 
    235 } 
    236  
    237 function psli_SetAction() { 
    238         document.getElementById("pslibingmapsselect").selectedIndex = psli_g_Map.getZoom(); 
    239 } 
    240  
    241 function psli_MapClick(e) { 
    242         if (e.targetType == "map") { 
    243                 if (psli_g_ZoneDraw) 
    244                 {        
    245                         var psli_l_Point = new Microsoft.Maps.Point(e.getX(), e.getY()); 
    246                         var psli_l_Loc = e.target.tryPixelToLocation(psli_l_Point); 
    247                         psli_g_Vertice.push(psli_l_Loc); 
    248                         var zone = new Microsoft.Maps.Polygon(psli_g_Vertice,{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor}); 
    249                         psli_g_Map.entities.clear(); 
    250                         psli_g_Map.entities.push(zone); 
    251                 } 
    252                 else 
    253                 { 
    254                         var psli_l_Point = new Microsoft.Maps.Point(e.getX(), e.getY()); 
    255                         var psli_l_Loc = e.target.tryPixelToLocation(psli_l_Point); 
    256                          
    257                         document.getElementById("pslibingmapslat").value= psli_l_Loc.latitude; 
    258                         document.getElementById("pslibingmapslon").value= psli_l_Loc.longitude; 
    259                         document.getElementById("pslibingmapsselect").selectedIndex = psli_g_Map.getZoom(); 
    260                         var pin = new Microsoft.Maps.Pushpin(psli_l_Loc); 
    261                         psli_g_Map.entities.clear(); 
    262                         psli_g_Map.entities.push(pin); 
    263                 } 
    264         } 
    265 } 
    266  
    267  
  • extensions/Psli_BingMaps/include/const.inc.php

    r14913 r15432  
    22/* 
    33Plugin Name: Psli-BingMaps 
    4 Author: psli  
    5 Description: Define for use by "Psli-Bing Maps" Plugin 
     4Author: psli 
    65*/ 
    76 
     
    1211global $prefixeTable; 
    1312 
    14 // Define to use Debug Mode 
    15 //if (!defined('PSLI-DEBUG')) define('PSLI-DEBUG', TRUE); 
    16  
    1713// Define 
     14define('PSLI_MAPS_TABLE' , $prefixeTable . 'psli_maps'); 
    1815define('PSLI_ENTITIES_TABLE' , $prefixeTable . 'psli_entities'); 
     16define('PSLI_ENTITIES_MAPS_TABLE' , $prefixeTable . 'psli_entities_maps'); 
    1917define('PSLI_DATAPOINT_TABLE' , $prefixeTable . 'psli_datapoint'); 
    2018define('PSLI_CONF_KEY', 'PsliBingMapsKey'); 
    21 define('PSLI_CONF_LAT', 'PsliBingMapsLat'); 
    22 define('PSLI_CONF_LON', 'PsliBingMapsLon'); 
    23 define('PSLI_CONF_ZOOM', 'PsliBingMapsZoom'); 
    2419define('PSLI_CONF_PATH', 'PsliBingMapsPath'); 
    25 define('PSLI_CONF_CATEGORY', 'PsliBingMapsCategoryInitiale'); 
    2620define('PSLI_CONF_VERSION_MAJ', 'PsliBingMapsVerMaj'); 
    2721define('PSLI_CONF_VERSION_MIN', 'PsliBingMapsVerMin'); 
    28 define('PSLI_VERSION_MAJ', 1); 
    29 define('PSLI_VERSION_MIN', 3); 
     22define('PSLI_VERSION_MAJ', 2); 
     23define('PSLI_VERSION_MIN', 0); 
    3024 
    3125?> 
  • extensions/Psli_BingMaps/include/guest.inc.php

    r14891 r15432  
    33Plugin Name: Psli-BingMaps 
    44Author: psli  
    5 Description: Admin function for plugin "Psli-BingMaps" 
    65*/ 
    76 
     
    1817$row = pwg_db_fetch_assoc($result); 
    1918$conf[PSLI_CONF_KEY] = $row['value']; 
    20 $query = ' 
    21         SELECT value 
    22                 FROM '.CONFIG_TABLE.' 
    23                 WHERE param = "'.PSLI_CONF_LAT.'";'; 
    24 $result = pwg_query($query); 
    25 $row = pwg_db_fetch_assoc($result); 
    26 $conf[PSLI_CONF_LAT] = $row['value']; 
    27 $query = ' 
    28         SELECT value 
    29                 FROM '.CONFIG_TABLE.' 
    30                 WHERE param = "'.PSLI_CONF_LON.'";'; 
    31 $result = pwg_query($query); 
    32 $row = pwg_db_fetch_assoc($result); 
    33 $conf[PSLI_CONF_LON] = $row['value']; 
    34 $query = ' 
    35         SELECT value 
    36                 FROM '.CONFIG_TABLE.' 
    37                 WHERE param = "'.PSLI_CONF_ZOOM.'";'; 
    38 $result = pwg_query($query); 
    39 $row = pwg_db_fetch_assoc($result); 
    40 $conf[PSLI_CONF_ZOOM] = $row['value']; 
    41 $query = ' 
    42         SELECT value 
    43                 FROM '.CONFIG_TABLE.' 
    44                 WHERE param = "'.PSLI_CONF_CATEGORY.'";'; 
    45 $result = pwg_query($query); 
    46 $row = pwg_db_fetch_assoc($result); 
    47 $conf[PSLI_CONF_CATEGORY] = $row['value']; 
    4819 
    4920$conf['psli_already_done'] = false; 
     
    6233        if (! (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 6.0") === FALSE)) 
    6334                return $desc; 
     35         
     36        if (isset($page['category']['id'])) 
     37        { 
     38                $query = ' 
     39                        SELECT id, lat, lon, zoom 
     40                                FROM '.PSLI_MAPS_TABLE.' 
     41                                WHERE id_category = '.$page['category']['id'].';'; 
     42                $result = pwg_query($query); 
     43        } 
    6444                 
    6545        // First test album to control availabilty of the map 
    66         if ((isset($page['category']['id'])) and  ($page['category']['id'] == $conf[PSLI_CONF_CATEGORY]) and ($conf['psli_already_done'] == false)) 
     46        if ((isset($page['category']['id'])) and  (pwg_db_num_rows($result) > 0) and ($conf['psli_already_done'] == false)) 
    6747        {        
    68          
     48                // Set data for this map 
     49                $row = pwg_db_fetch_assoc($result); 
     50                $lon_initiale = $row['lon']; 
     51                $zoom_initiale = $row['zoom']; 
     52                $lat_initiale = $row['lat']; 
     53                $id_initiale = $row['id']; 
     54                 
    6955                // Language data 
    7056                load_language('plugin.lang', PSLI_BINGMAPS_TEMPLATE_PATH); 
     
    8268<script> 
    8369psli_g_BingKey = "'.$conf[PSLI_CONF_KEY].'"; 
    84 psli_g_zoomInitial = '.$conf[PSLI_CONF_ZOOM].'; 
    85 psli_g_MapCenter = new Microsoft.Maps.Location('.$conf[PSLI_CONF_LAT].', '.$conf[PSLI_CONF_LON].')'."\n"; 
     70psli_g_zoomInitial = '.$zoom_initiale.'; 
     71psli_g_MapCenter = new Microsoft.Maps.Location('.$lat_initiale.', '.$lon_initiale.')'."\n"; 
    8672 
    8773         
    8874                $query_entities = ' 
    89                         SELECT id, lat, lon, zoomMin, zoomMax, action, title, id_category 
    90                           FROM '.PSLI_ENTITIES_TABLE.';'; 
     75                        SELECT e.id id, lat, lon, zoomMin, zoomMax, action, id_action, title, type 
     76                          FROM '.PSLI_ENTITIES_TABLE.' e left join '.PSLI_ENTITIES_MAPS_TABLE.' j ON e.id = j.id_entity 
     77                          WHERE j.id_map = '.$id_initiale.';'; 
    9178                $result_entities = pwg_query($query_entities); 
    9279                 
     
    10087                        // For each sub category 
    10188                        while ($entity = pwg_db_fetch_assoc($result_entities)) 
    102                         {                                        
    103                                 $query_datapoint = ' 
    104                                         SELECT lat, lon 
    105                                                 FROM '.PSLI_DATAPOINT_TABLE.' 
    106                                                 WHERE id_entity = '.$entity['id'].' ORDER BY id;'; 
    107                                 $result_datapoint = pwg_query($query_datapoint); 
    108                                 if (pwg_db_num_rows($result_datapoint) > 0) 
    109                                 { 
    110                                         $desc_data .= 'var psli_t_Vertices'.$entity['id'].' = new Array();'."\n"; 
    111                                         while ($row = pwg_db_fetch_assoc($result_datapoint)) 
     89                        {        
     90                                if ($entity['id_action'] != 0) 
     91                                {        
     92                                        if ($entity['type'] == 2) 
    11293                                        { 
    113                                                 $desc_data .= 'psli_t_Vertices'.$entity['id'].'.push(new Microsoft.Maps.Location('.$row['lat'].','.$row['lon'].'));'."\n"; 
     94                                                $query_datapoint = ' 
     95                                                        SELECT lat, lon 
     96                                                                FROM '.PSLI_DATAPOINT_TABLE.' 
     97                                                                WHERE id_entity = '.$entity['id'].' ORDER BY id;'; 
     98                                                $result_datapoint = pwg_query($query_datapoint); 
     99                                                if (pwg_db_num_rows($result_datapoint) > 0) 
     100                                                { 
     101                                                        $desc_data .= 'var psli_t_Vertices'.$entity['id'].' = new Array();'."\n"; 
     102                                                        while ($row = pwg_db_fetch_assoc($result_datapoint)) 
     103                                                        { 
     104                                                                $desc_data .= 'psli_t_Vertices'.$entity['id'].'.push(new Microsoft.Maps.Location('.$row['lat'].','.$row['lon'].'));'."\n"; 
     105                                                        } 
     106                                                        $desc_data .= ' 
     107var psli_t_Child'.$entity['id'].' = new Microsoft.Maps.Polygon(psli_t_Vertices'.$entity['id'].',{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor});'."\n"; 
     108 
     109                                                        $desc_function_mouse_over .= ' 
     110function psli_MapsMouseOver_'.$entity['id'].' (e) {  
     111  document.getElementById("Coordonates").innerHTML = "'.l10n('Click to zoom on')." ".$entity['title'].'"; 
     112}'."\n"; 
     113                                                } 
    114114                                        } 
     115                                        else 
     116                                        { 
     117                                                $desc_data .= ' 
     118var psli_t_Child'.$entity['id'].' = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location('.$entity['lat'].','.$entity['lon'].'));'."\n"; 
     119 
     120                                                $desc_function_mouse_over .= ' 
     121function psli_MapsMouseOver_'.$entity['id'].' (e) {  
     122  document.getElementById("Coordonates").innerHTML = "'.l10n('Click to show pictures of')." ".$entity['title'].'"; 
     123}'."\n"; 
     124                                        } 
     125                                         
    115126                                        $desc_data .= ' 
    116         var psli_t_Child'.$entity['id'].' = new Microsoft.Maps.Polygon(psli_t_Vertices'.$entity['id'].',{fillColor: psli_g_PolygonColor, strokeColor: psli_g_PolygonColor});'."\n"; 
    117  
    118                                         $desc_function_mouse_over .= ' 
    119         function psli_MapsMouseOver_'.$entity['id'].' (e) {  
    120           document.getElementById("Coordonates").innerHTML = "'.l10n('Cliquez pour zoomer sur').$entity['title'].'"; 
    121         }'."\n"; 
    122                                 } 
    123                                 else 
    124                                 { 
    125                                         $desc_data .= ' 
    126         var psli_t_Child'.$entity['id'].' = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location('.$entity['lat'].','.$entity['lon'].'));'."\n"; 
    127  
    128                                         $desc_function_mouse_over .= ' 
    129         function psli_MapsMouseOver_'.$entity['id'].' (e) {  
    130           document.getElementById("Coordonates").innerHTML = "'.l10n('Cliquez pour acceder aux photos').$entity['title'].'"; 
    131         }'."\n"; 
    132                                 } 
     127Microsoft.Maps.Events.addHandler(psli_t_Child'.$entity['id'].', "mouseover", psli_MapsMouseOver_'.$entity['id'].'); 
     128Microsoft.Maps.Events.addHandler(psli_t_Child'.$entity['id'].', "mouseout", psli_MapsMouseOut); 
     129Microsoft.Maps.Events.addHandler(psli_t_Child'.$entity['id'].', "click", psli_MapsClick_'.$entity['id'].');'."\n"; 
     130                 
     131                                        switch ($entity['action']) 
     132                                        { 
     133                                                case 1:  
     134                                                        $desc_function_click .= ' 
     135function psli_MapsClick_'.$entity['id'].' (e) {  
     136        psli_g_Map.setView({zoom:'.$entity['id_action'].', center: new Microsoft.Maps.Location('.$entity['lat'].', '.$entity['lon'].')}); 
     137}'."\n"; 
     138                                                        break; 
     139                                                case 2: 
     140                                                        $desc_function_click .= ' 
     141function psli_MapsClick_'.$entity['id'].' (e) {  
     142        document.location.href=\'index.php?/category/'.$entity['id_action'].'\'; 
     143}'."\n"; 
     144                                                        break; 
     145                                                case 3: 
     146                                                        $desc_function_click .= ' 
     147function psli_MapsClick_'.$entity['id'].' (e) {  
     148  document.location.href=\'picture.php?/'.$entity['id_action'].'\'; 
     149}'."\n"; 
     150                                                        break;                           
     151                                        } 
    133152                                 
    134                                 $desc_data .= ' 
    135         Microsoft.Maps.Events.addHandler(psli_t_Child'.$entity['id'].', "mouseover", psli_MapsMouseOver_'.$entity['id'].'); 
    136         Microsoft.Maps.Events.addHandler(psli_t_Child'.$entity['id'].', "mouseout", psli_MapsMouseOut); 
    137         Microsoft.Maps.Events.addHandler(psli_t_Child'.$entity['id'].', "click", psli_MapsClick_'.$entity['id'].');'."\n"; 
    138          
    139                                 if ($entity['action'] == 0) 
    140                                 { 
    141                                         $desc_function_click .= ' 
    142 function psli_MapsClick_'.$entity['id'].' (e) {  
    143   document.location.href=\'index.php?/category/'.$entity['id_category'].'\'; 
    144 }'."\n"; 
    145                                 } 
    146                                 else     
    147                                 { 
    148                                         $desc_function_click .= ' 
    149 function psli_MapsClick_'.$entity['id'].' (e) {  
    150   psli_g_Map.setView({zoom:'.$entity['action'].', center: new Microsoft.Maps.Location('.$entity['lat'].', '.$entity['lon'].')}); 
    151 }'."\n"; 
    152                                 } 
    153                          
    154                                 for ($i = $entity['zoomMin']; $i <= $entity['zoomMax']; $i++) 
    155                                 { 
    156                                         $desc_data .= 'psli_g_ZoomEntity['.($i - 1).'].push(psli_t_Child'.$entity['id'].');'."\n"; 
     153                                        for ($i = $entity['zoomMin']; $i <= $entity['zoomMax']; $i++) 
     154                                        { 
     155                                                $desc_data .= 'psli_g_ZoomEntity['.($i - 1).'].push(psli_t_Child'.$entity['id'].');'."\n"; 
     156                                        } 
    157157                                } 
    158158                        } 
  • extensions/Psli_BingMaps/include/version.inc.php

    r14913 r15432  
    11<?php 
    22/* 
    3 Version: 1.1 
    43Plugin Name: Psli-BingMaps 
    54Author: psli  
    6 Description: Maintenance function for plugin "Psli-BingMaps" 
    75*/ 
    86 
     
    8886} 
    8987 
     88// from version 1.3 
     89if (($version_maj == "1") and ($version_min == "3")) 
     90{ 
     91        // New table MAPS and changes in Entities table 
     92        define('PSLI_CONF_LAT', 'PsliBingMapsLat'); 
     93        define('PSLI_CONF_LON', 'PsliBingMapsLon'); 
     94        define('PSLI_CONF_ZOOM', 'PsliBingMapsZoom'); 
     95        define('PSLI_CONF_CATEGORY', 'PsliBingMapsCategoryInitiale'); 
     96         
     97        // Create table Maps and default element 
     98        $sql = ' 
     99                CREATE TABLE IF NOT EXISTS `'.PSLI_MAPS_TABLE."` ( 
     100                        `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, 
     101                        `id_category` smallint(5) unsigned DEFAULT NULL, 
     102                        `title` text, 
     103                        `lat` decimal(15,12) DEFAULT '0.000000000000', 
     104                        `lon` decimal(15,12) DEFAULT '0.000000000000', 
     105                        `zoom` smallint(6) DEFAULT NULL, 
     106                        PRIMARY KEY (`id`) 
     107                ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;"; 
     108        pwg_query($sql); 
     109         
     110        // Create table Entity-Map and default element 
     111        $sql = ' 
     112                CREATE TABLE IF NOT EXISTS `'.PSLI_ENTITIES_MAPS_TABLE."` ( 
     113                        `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, 
     114                        `id_entity` smallint(5) unsigned DEFAULT NULL, 
     115                        `id_map` smallint(5) unsigned DEFAULT NULL, 
     116                        PRIMARY KEY (`id`), 
     117                        UNIQUE `psli_entity_map_1` (`id_entity`, `id_map`), 
     118                        INDEX `psli_entity_map_2` (`id_entity`), 
     119                        INDEX `psli_entity_map_3` (`id_map`) 
     120                ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;"; 
     121        pwg_query($sql); 
     122         
     123        $query = ' 
     124                SELECT value 
     125                        FROM '.CONFIG_TABLE.' 
     126                        WHERE param = "'.PSLI_CONF_LAT.'";'; 
     127        $result = pwg_query($query); 
     128        $row = pwg_db_fetch_assoc($result); 
     129        $lat = $row['value']; 
     130 
     131        $query = ' 
     132                SELECT value 
     133                        FROM '.CONFIG_TABLE.' 
     134                        WHERE param = "'.PSLI_CONF_LON.'";'; 
     135        $result = pwg_query($query); 
     136        $row = pwg_db_fetch_assoc($result); 
     137        $lon = $row['value']; 
     138 
     139        $query = ' 
     140                SELECT value 
     141                        FROM '.CONFIG_TABLE.' 
     142                        WHERE param = "'.PSLI_CONF_ZOOM.'";'; 
     143        $result = pwg_query($query); 
     144        $row = pwg_db_fetch_assoc($result); 
     145        $zoom = $row['value']; 
     146         
     147        $query = ' 
     148                SELECT value 
     149                        FROM '.CONFIG_TABLE.' 
     150                        WHERE param = "'.PSLI_CONF_CATEGORY.'";'; 
     151        $result = pwg_query($query); 
     152        $row = pwg_db_fetch_assoc($result); 
     153        $category = $row['value']; 
     154        if ($category == 'to define') 
     155        { 
     156                $category = 'null'; 
     157        } 
     158 
     159        $sql = "INSERT INTO `".PSLI_MAPS_TABLE."` (`id`, `id_category`, `title`, `lat`, `lon`, `zoom`)  
     160                                VALUES (1, ".$category.", 'Default', ".$lat.", ".$lon.", ".$zoom.");";   
     161    pwg_query($sql);     
     162         
     163        $sql = "INSERT INTO `".PSLI_ENTITIES_MAPS_TABLE."` (`id_entity`, `id_map`)  
     164                                SELECT id, 1 FROM `".PSLI_ENTITIES_TABLE."`;";   
     165    pwg_query($sql); 
     166         
     167        // Update table Entities 
     168        $sql = 'ALTER TABLE `'.PSLI_ENTITIES_TABLE.'` DROP INDEX `psli_i10`;';   
     169    pwg_query($sql);     
     170        $sql = 'ALTER TABLE `'.PSLI_ENTITIES_TABLE.'` CHANGE COLUMN `id_category` `id_action` smallint(5) unsigned DEFAULT NULL;';       
     171    pwg_query($sql); 
     172        $sql = 'ALTER TABLE `'.PSLI_ENTITIES_TABLE.'` ADD COLUMN `type` smallint(1) default 1;';         
     173    pwg_query($sql);  
     174        $sql = 'UPDATE `'.PSLI_ENTITIES_TABLE.'` SET `id_action`=`action`, `action`=1 WHERE `action` <> 0;';     
     175    pwg_query($sql); 
     176        $sql = 'UPDATE `'.PSLI_ENTITIES_TABLE.'` SET `action`=2 WHERE `action` = 0;';    
     177    pwg_query($sql); 
     178        $sql = 'UPDATE '.PSLI_ENTITIES_TABLE.' e SET e.type=2 where exists (select * from '.PSLI_DATAPOINT_TABLE.' d where d.id_entity = e.id);';        
     179    pwg_query($sql); 
     180                 
     181        // Drop conf param PSLI_CONF_LAT, PSLI_CONF_LON, PSLI_CONF_ZOOM  
     182        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_LAT."';"; 
     183        pwg_query($sql); 
     184        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_LON."';"; 
     185        pwg_query($sql); 
     186        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_ZOOM."';"; 
     187        pwg_query($sql); 
     188        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_CATEGORY."';"; 
     189        pwg_query($sql); 
     190         
     191        // Update version 
     192        $query = ' 
     193                UPDATE '.CONFIG_TABLE.' 
     194                        SET value = "' . PSLI_VERSION_MAJ . '" 
     195                        WHERE param = "'.PSLI_CONF_VERSION_MAJ.'" 
     196                        LIMIT 1'; 
     197        pwg_query($query); 
     198        $query = ' 
     199                UPDATE '.CONFIG_TABLE.' 
     200                        SET value = "' . PSLI_VERSION_MIN . '" 
     201                        WHERE param = "'.PSLI_CONF_VERSION_MIN.'" 
     202                        LIMIT 1'; 
     203        pwg_query($query); 
     204        $version_maj = "2"; 
     205        $version_min = "0"; 
     206} 
     207 
    90208?> 
  • extensions/Psli_BingMaps/language/cs_CZ/plugin.lang.php

    r15142 r15432  
    2222// +-----------------------------------------------------------------------+ 
    2323$lang['Action'] = 'Akce'; 
    24 $lang['Annuler le mode creation'] = 'Zrušit mód perimetru'; 
     24$lang['Action Album'] = 'Action Album'; 
     25$lang['Action Picture'] = 'Action Picture'; 
     26$lang['Action Zoom'] = 'Action Zoom'; 
     27$lang['Added pictures'] = 'Added pictures'; 
     28$lang['Associated map'] = 'Associated map'; 
     29$lang['Batch association'] = 'Batch association'; 
    2530$lang['Bing Maps Key'] = 'Bing Maps Key'; 
    26 $lang['Categorie'] = 'Kategorie'; 
     31$lang['Category'] = 'Kategorie'; 
     32$lang['Category not selected'] = 'Category not selected'; 
    2733$lang['Center Latittude'] = 'Počáteční zeměpisná šířks'; 
    2834$lang['Center Longitude'] = 'Počáteční zeměpisná délka'; 
    29 $lang['Cliquez pour acceder aux photos'] = 'Kliknout pro pohled'; 
    30 $lang['Cliquez pour zoomer sur'] = 'Kliknout k zoom na'; 
     35$lang['Change Zoom Level'] = 'Change Zoom Level'; 
     36$lang['Click to show pictures of'] = 'Kliknout pro pohled'; 
     37$lang['Click to zoom on'] = 'Kliknout k zoom na'; 
    3138$lang['Configuration'] = 'Sestava'; 
    32 $lang['Contenu'] = 'Ukázat obrázek kategorie'; 
    33 $lang['Creer une zone'] = 'Vytvořit perimetr'; 
    34 $lang['Enregistrer la zone'] = 'Uložit perimetr'; 
    35 $lang['Etes-vous sur ?'] = 'Jste si jist?'; 
     39$lang['Configuration mode'] = 'Configuration mode'; 
     40$lang['Create a map'] = 'Create a map'; 
     41$lang['Create a pin'] = 'Create a pin'; 
     42$lang['Create a zone'] = 'Vytvořit perimetr'; 
     43$lang['Delete all points'] = 'Zrušit vše'; 
     44$lang['Delete last point'] = 'Zrušit poslední bod'; 
     45$lang['Delete this map'] = 'Delete this map'; 
     46$lang['Delete this picture'] = 'Delete this picture'; 
     47$lang['Delete this pin'] = 'Delete this pin'; 
     48$lang['Delete this zone'] = 'Delete this zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Exif import'; 
     51$lang['fifth step : check association with your maps'] = 'fifth step : check association with your maps'; 
     52$lang['first step : create map'] = 'first step : create map'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'fourth step : make modification to pin associated to your pictures'; 
     54$lang['last step : Enjoy !'] = 'last step : Enjoy !'; 
    3655$lang['Latitude'] = 'Zeměpisná šířka'; 
    37 $lang['Localisation - Plugin Psli-BingMaps'] = 'Lokalizace - Plugin Psli-BingMaps'; 
    3856$lang['Longitude'] = 'Zeměpisná délka'; 
    39 $lang['PointnClick Map'] = 'Oznčit a kliknout mapu'; 
     57$lang['Map mode'] = 'Map mode'; 
     58$lang['Map Title'] = 'Map Title'; 
     59$lang['Modified pictures'] = 'Modified pictures'; 
     60$lang['New Entity'] = 'New Entity'; 
     61$lang['New Map'] = 'New Map'; 
     62$lang['New Picture'] = 'New Picture'; 
     63$lang['New Pin'] = 'New Pin'; 
     64$lang['New Zone'] = 'New Zone'; 
     65$lang['No exif in pictures for this category'] = 'No exif in pictures for this category'; 
     66$lang['No selected entity'] = 'No selected entity'; 
     67$lang['No selected map'] = 'No selected map'; 
     68$lang['Not assign to a category'] = 'Not assign to a category'; 
     69$lang['Open Category'] = 'Open Category'; 
     70$lang['Open Picture'] = 'Open Picture'; 
     71$lang['Open this category'] = 'Open this category'; 
     72$lang['Open this map'] = 'Open this map'; 
     73$lang['Open this picture'] = 'Open this picture'; 
     74$lang['Open this pin'] = 'Open this pin'; 
     75$lang['Open this zone'] = 'Open this zone'; 
     76$lang['Picture'] = 'Fotografie'; 
     77$lang['Picture mode'] = 'Picture mode'; 
     78$lang['Picture Title'] = 'Picture Title'; 
     79$lang['pictures'] = 'Fotografie'; 
     80$lang['Pin'] = 'Pin'; 
     81$lang['Pin mode'] = 'Pin mode'; 
     82$lang['Pin Title'] = 'Pin Title'; 
     83$lang['Reload saved zone'] = 'Reload saved zone'; 
     84$lang['second step : import exif data from your pictures'] = 'second step : import exif data from your pictures'; 
     85$lang['Select a Category'] = 'Select a Category'; 
     86$lang['Select a Map'] = 'Select a Map'; 
     87$lang['Select a picture'] = 'Select a picture'; 
     88$lang['Select a pin'] = 'Select a pin'; 
     89$lang['Select a zone'] = 'Select a zone'; 
    4090$lang['Set'] = 'Nastavit'; 
    41 $lang['Setup Helper'] = 'Použít mapu k nastavení počáteční středové pozice a hladiny zoomu mapy'; 
    42 $lang['Submit'] = 'Uložit'; 
    43 $lang['Supprimer la localisation'] = 'Zrušit všechny údaje'; 
    44 $lang['Supprimer le dernier point'] = 'Zrušit poslední bod'; 
    45 $lang['Tout effacer'] = 'Zrušit vše'; 
    46 $lang['Valider'] = 'Vyhradit'; 
     91$lang['Show guest view'] = 'Show guest view'; 
     92$lang['Show map center'] = 'Show map center'; 
     93$lang['third step : create new zone and new pin'] = 'third step : create new zone and new pin'; 
     94$lang['User manual'] = 'Uživatelská příručka'; 
     95$lang['You need to select a category'] = 'You need to select a category'; 
     96$lang['You need to select a map'] = 'You need to select a map'; 
     97$lang['You need to select a picture'] = 'You need to select a picture'; 
     98$lang['You need to select a pin'] = 'You need to select a pin'; 
     99$lang['You need to select a zone'] = 'You need to select a zone'; 
     100$lang['Zone'] = 'Perimetr'; 
     101$lang['Zone mode'] = 'Zone mode'; 
     102$lang['Zone Title'] = 'Zone Title'; 
     103$lang['Zoom'] = 'Počáteční zoom'; 
     104$lang['Zoom level 1'] = 'Zoom na hladinu 1'; 
     105$lang['Zoom level 10'] = 'Zoom na hladinu 10'; 
     106$lang['Zoom level 11'] = 'Zoom na hladinu 11'; 
     107$lang['Zoom level 12'] = 'Zoom na hladinu 12'; 
     108$lang['Zoom level 13'] = 'Zoom na hladinu 13'; 
     109$lang['Zoom level 14'] = 'Zoom na hladinu 14'; 
     110$lang['Zoom level 15'] = 'Zoom na hladinu 15'; 
     111$lang['Zoom level 16'] = 'Zoom na hladinu 16'; 
     112$lang['Zoom level 17'] = 'Zoom na hladinu 17'; 
     113$lang['Zoom level 18'] = 'Zoom na hladinu 18'; 
     114$lang['Zoom level 19'] = 'Zoom na hladinu 19'; 
     115$lang['Zoom level 2'] = 'Zoom na hladinu 2'; 
     116$lang['Zoom level 20'] = 'Zoom na hladinu 20'; 
     117$lang['Zoom level 3'] = 'Zoom na hladinu 3'; 
     118$lang['Zoom level 4'] = 'Zoom na hladinu 4'; 
     119$lang['Zoom level 5'] = 'Zoom na hladinu 5'; 
     120$lang['Zoom level 6'] = 'Zoom na hladinu 6'; 
     121$lang['Zoom level 7'] = 'Zoom na hladinu 7'; 
     122$lang['Zoom level 8'] = 'Zoom na hladinu 8'; 
     123$lang['Zoom level 9'] = 'Zoom na hladinu 9'; 
    47124$lang['Zoom maximum'] = 'Maximální zoom'; 
    48125$lang['Zoom minimum'] = 'Minimální zoom'; 
    49 $lang['Zoom niveau 10'] = 'Zoom na hladinu 10'; 
    50 $lang['Zoom niveau 11'] = 'Zoom na hladinu 11'; 
    51 $lang['Zoom niveau 12'] = 'Zoom na hladinu 12'; 
    52 $lang['Zoom niveau 13'] = 'Zoom na hladinu 13'; 
    53 $lang['Zoom niveau 14'] = 'Zoom na hladinu 14'; 
    54 $lang['Zoom niveau 15'] = 'Zoom na hladinu 15'; 
    55 $lang['Zoom niveau 16'] = 'Zoom na hladinu 16'; 
    56 $lang['Zoom niveau 17'] = 'Zoom na hladinu 17'; 
    57 $lang['Zoom niveau 18'] = 'Zoom na hladinu 18'; 
    58 $lang['Zoom niveau 19'] = 'Zoom na hladinu 19'; 
    59 $lang['Zoom niveau 1'] = 'Zoom na hladinu 1'; 
    60 $lang['Zoom niveau 20'] = 'Zoom na hladinu 20'; 
    61 $lang['Zoom niveau 2'] = 'Zoom na hladinu 2'; 
    62 $lang['Zoom niveau 3'] = 'Zoom na hladinu 3'; 
    63 $lang['Zoom niveau 4'] = 'Zoom na hladinu 4'; 
    64 $lang['Zoom niveau 5'] = 'Zoom na hladinu 5'; 
    65 $lang['Zoom niveau 6'] = 'Zoom na hladinu 6'; 
    66 $lang['Zoom niveau 7'] = 'Zoom na hladinu 7'; 
    67 $lang['Zoom niveau 8'] = 'Zoom na hladinu 8'; 
    68 $lang['Zoom niveau 9'] = 'Zoom na hladinu 9'; 
    69 $lang['Zoom'] = 'Počáteční zoom'; 
    70126?> 
  • extensions/Psli_BingMaps/language/de_DE/plugin.lang.php

    r14917 r15432  
    2222// +-----------------------------------------------------------------------+ 
    2323$lang['Action'] = 'Aktion'; 
    24 $lang['Annuler le mode creation'] = 'Perimeter-Modus aufheben'; 
     24$lang['Action Album'] = 'Action Album'; 
     25$lang['Action Picture'] = 'Action Picture'; 
     26$lang['Action Zoom'] = 'Action Zoom'; 
     27$lang['Added pictures'] = 'Added pictures'; 
     28$lang['Associated map'] = 'Associated map'; 
     29$lang['Batch association'] = 'Batch association'; 
    2530$lang['Bing Maps Key'] = 'Bing Maps Key'; 
    26 $lang['Categorie'] = 'Kategorie'; 
     31$lang['Category'] = 'Kategorie'; 
     32$lang['Category not selected'] = 'Category not selected'; 
    2733$lang['Center Latittude'] = 'Ab der Breite'; 
    2834$lang['Center Longitude'] = 'Ab der Länge'; 
    29 $lang['Cliquez pour acceder aux photos'] = 'Klicken Sie um auf die Fotos zugreifen zu können'; 
    30 $lang['Cliquez pour zoomer sur'] = 'Klicken Sie, um zu vergrößern'; 
     35$lang['Change Zoom Level'] = 'Change Zoom Level'; 
     36$lang['Click to show pictures of'] = 'Klicken Sie um auf die Fotos zugreifen zu können'; 
     37$lang['Click to zoom on'] = 'Klicken Sie, um zu vergrößern'; 
    3138$lang['Configuration'] = 'Einstellungen'; 
    32 $lang['Contenu'] = 'Kategoriebild anzeigen'; 
    33 $lang['Creer une zone'] = 'Perimeter erstellen'; 
    34 $lang['Enregistrer la zone'] = 'Perimeter speichern'; 
    35 $lang['Etes-vous sur ?'] = 'Sind Sie sicher?'; 
     39$lang['Configuration mode'] = 'Configuration mode'; 
     40$lang['Create a map'] = 'Create a map'; 
     41$lang['Create a pin'] = 'Create a pin'; 
     42$lang['Create a zone'] = 'Perimeter erstellen'; 
     43$lang['Delete all points'] = 'Alles Entfernen'; 
     44$lang['Delete last point'] = 'Letzter Punkt löschen'; 
     45$lang['Delete this map'] = 'Delete this map'; 
     46$lang['Delete this picture'] = 'Delete this picture'; 
     47$lang['Delete this pin'] = 'Delete this pin'; 
     48$lang['Delete this zone'] = 'Delete this zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Exif import'; 
     51$lang['fifth step : check association with your maps'] = 'fifth step : check association with your maps'; 
     52$lang['first step : create map'] = 'first step : create map'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'fourth step : make modification to pin associated to your pictures'; 
     54$lang['last step : Enjoy !'] = 'last step : Enjoy !'; 
    3655$lang['Latitude'] = 'Breite'; 
    37 $lang['Localisation - Plugin Psli-BingMaps'] = 'Lokalisation - Plugin Psli-BingMaps'; 
    3856$lang['Longitude'] = 'Länge'; 
    39 $lang['PointnClick Map'] = 'Point and Click Karte'; 
     57$lang['Map mode'] = 'Map mode'; 
     58$lang['Map Title'] = 'Map Title'; 
     59$lang['Modified pictures'] = 'Modified pictures'; 
     60$lang['New Entity'] = 'New Entity'; 
     61$lang['New Map'] = 'New Map'; 
     62$lang['New Picture'] = 'New Picture'; 
     63$lang['New Pin'] = 'New Pin'; 
     64$lang['New Zone'] = 'New Zone'; 
     65$lang['No exif in pictures for this category'] = 'No exif in pictures for this category'; 
     66$lang['No selected entity'] = 'No selected entity'; 
     67$lang['No selected map'] = 'No selected map'; 
     68$lang['Not assign to a category'] = 'Not assign to a category'; 
     69$lang['Open Category'] = 'Open Category'; 
     70$lang['Open Picture'] = 'Open Picture'; 
     71$lang['Open this category'] = 'Open this category'; 
     72$lang['Open this map'] = 'Open this map'; 
     73$lang['Open this picture'] = 'Open this picture'; 
     74$lang['Open this pin'] = 'Open this pin'; 
     75$lang['Open this zone'] = 'Open this zone'; 
     76$lang['Picture'] = 'Picture'; 
     77$lang['Picture mode'] = 'Picture mode'; 
     78$lang['Picture Title'] = 'Picture Title'; 
     79$lang['pictures'] = 'pictures'; 
     80$lang['Pin'] = 'Pin'; 
     81$lang['Pin mode'] = 'Pin mode'; 
     82$lang['Pin Title'] = 'Pin Title'; 
     83$lang['Reload saved zone'] = 'Reload saved zone'; 
     84$lang['second step : import exif data from your pictures'] = 'second step : import exif data from your pictures'; 
     85$lang['Select a Category'] = 'Select a Category'; 
     86$lang['Select a Map'] = 'Select a Map'; 
     87$lang['Select a picture'] = 'Select a picture'; 
     88$lang['Select a pin'] = 'Select a pin'; 
     89$lang['Select a zone'] = 'Select a zone'; 
    4090$lang['Set'] = 'Set'; 
    41 $lang['Setup Helper'] = 'Benutzen Sie die Karte um die anfängliche mittlere Position und den Zoomfaktor der Karte festlegen.'; 
    42 $lang['Submit'] = 'Speichern'; 
    43 $lang['Supprimer la localisation'] = 'Alle Daten löschen'; 
    44 $lang['Supprimer le dernier point'] = 'Letzter Punkt löschen'; 
    45 $lang['Tout effacer'] = 'Alles Entfernen'; 
    46 $lang['Valider'] = 'Einreichen'; 
    47 $lang['Zoom maximum'] = 'Maximaler Zoom'; 
    48 $lang['Zoom minimum'] = 'Minimaler Zoom'; 
    49 $lang['Zoom niveau 10'] = 'Auf Level 10 zoomen'; 
    50 $lang['Zoom niveau 11'] = 'Auf Level 11 zoomen'; 
    51 $lang['Zoom niveau 12'] = 'Auf Level 12 zoomen'; 
    52 $lang['Zoom niveau 13'] = 'Auf Level 13 zoomen'; 
    53 $lang['Zoom niveau 14'] = 'Auf Level 14 zoomen'; 
    54 $lang['Zoom niveau 15'] = 'Auf Level 15 zoomen'; 
    55 $lang['Zoom niveau 16'] = 'Auf Level 16 zoomen'; 
    56 $lang['Zoom niveau 17'] = 'Auf Level 17 zoomen'; 
    57 $lang['Zoom niveau 18'] = 'Auf Level 18 zoomen'; 
    58 $lang['Zoom niveau 19'] = 'Auf Level 19 zoomen'; 
    59 $lang['Zoom niveau 1'] = 'Auf Level 1 zoomen'; 
    60 $lang['Zoom niveau 20'] = 'Auf Level 20 zoomen'; 
    61 $lang['Zoom niveau 2'] = 'Auf Level 2 zoomen'; 
    62 $lang['Zoom niveau 3'] = 'Auf Level 3 zoomen'; 
    63 $lang['Zoom niveau 4'] = 'Auf Level 4 zoomen'; 
    64 $lang['Zoom niveau 5'] = 'Auf Level 5 zoomen'; 
    65 $lang['Zoom niveau 6'] = 'Auf Level 6 zoomen'; 
    66 $lang['Zoom niveau 7'] = 'Auf Level 7 zoomen'; 
    67 $lang['Zoom niveau 8'] = 'Auf Level 8 zoomen'; 
    68 $lang['Zoom niveau 9'] = 'Auf Level 9 zoomen'; 
     91$lang['Show guest view'] = 'Show guest view'; 
     92$lang['Show map center'] = 'Show map center'; 
     93$lang['third step : create new zone and new pin'] = 'third step : create new zone and new pin'; 
     94$lang['User manual'] = 'User manual'; 
     95$lang['You need to select a category'] = 'You need to select a category'; 
     96$lang['You need to select a map'] = 'You need to select a map'; 
     97$lang['You need to select a picture'] = 'You need to select a picture'; 
     98$lang['You need to select a pin'] = 'You need to select a pin'; 
     99$lang['You need to select a zone'] = 'You need to select a zone'; 
     100$lang['Zone'] = 'Zone'; 
     101$lang['Zone mode'] = 'Zone mode'; 
     102$lang['Zone Title'] = 'Zone Title'; 
    69103$lang['Zoom'] = 'Ab dem Zoom'; 
     104$lang['Zoom level 1'] = 'Auf Level 1 zoomen'; 
     105$lang['Zoom level 10'] = 'Auf Level 10 zoomen'; 
     106$lang['Zoom level 11'] = 'Auf Level 11 zoomen'; 
     107$lang['Zoom level 12'] = 'Auf Level 12 zoomen'; 
     108$lang['Zoom level 13'] = 'Auf Level 13 zoomen'; 
     109$lang['Zoom level 14'] = 'Auf Level 14 zoomen'; 
     110$lang['Zoom level 15'] = 'Auf Level 15 zoomen'; 
     111$lang['Zoom level 16'] = 'Auf Level 16 zoomen'; 
     112$lang['Zoom level 17'] = 'Auf Level 17 zoomen'; 
     113$lang['Zoom level 18'] = 'Auf Level 18 zoomen'; 
     114$lang['Zoom level 19'] = 'Auf Level 19 zoomen'; 
     115$lang['Zoom level 2'] = 'Auf Level 2 zoomen'; 
     116$lang['Zoom level 20'] = 'Auf Level 20 zoomen'; 
     117$lang['Zoom level 3'] = 'Auf Level 3 zoomen'; 
     118$lang['Zoom level 4'] = 'Auf Level 4 zoomen'; 
     119$lang['Zoom level 5'] = 'Auf Level 5 zoomen'; 
     120$lang['Zoom level 6'] = 'Auf Level 6 zoomen'; 
     121$lang['Zoom level 7'] = 'Auf Level 7 zoomen'; 
     122$lang['Zoom level 8'] = 'Auf Level 8 zoomen'; 
     123$lang['Zoom level 9'] = 'Auf Level 9 zoomen'; 
     124$lang['Zoom maximum'] = 'Minimaler Zoom'; 
     125$lang['Zoom minimum'] = 'Maximaler Zoom'; 
    70126?> 
  • extensions/Psli_BingMaps/language/en_UK/plugin.lang.php

    r14891 r15432  
    11<?php 
    2  
    3 $lang['Setup Helper'] = 'Use the map to set initial center position and zoom level of the map.'; 
    4 $lang['PointnClick Map'] = 'Point and Click map'; 
    5 $lang['Localisation - Plugin Psli-BingMaps'] = 'Localisation - Plugin Psli-BingMaps'; 
     2// +-----------------------------------------------------------------------+ 
     3// | Piwigo - a PHP based photo gallery                                    | 
     4// +-----------------------------------------------------------------------+ 
     5// | Copyright(C) 2008-2012 Piwigo Team                  http://piwigo.org | 
     6// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net | 
     7// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick | 
     8// +-----------------------------------------------------------------------+ 
     9// | This program is free software; you can redistribute it and/or modify  | 
     10// | it under the terms of the GNU General Public License as published by  | 
     11// | the Free Software Foundation                                          | 
     12// |                                                                       | 
     13// | This program is distributed in the hope that it will be useful, but   | 
     14// | WITHOUT ANY WARRANTY; without even the implied warranty of            | 
     15// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      | 
     16// | General Public License for more details.                              | 
     17// |                                                                       | 
     18// | You should have received a copy of the GNU General Public License     | 
     19// | along with this program; if not, write to the Free Software           | 
     20// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 
     21// | USA.                                                                  | 
     22// +-----------------------------------------------------------------------+ 
     23$lang['Action'] = 'Action'; 
     24$lang['Action Album'] = 'Action Album'; 
     25$lang['Action Picture'] = 'Action Picture'; 
     26$lang['Action Zoom'] = 'Action Zoom'; 
     27$lang['Added pictures'] = 'Added pictures'; 
     28$lang['Associated map'] = 'Associated map'; 
     29$lang['Batch association'] = 'Batch association'; 
     30$lang['Bing Maps Key'] = 'Bing Maps Key'; 
     31$lang['Category'] = 'Category'; 
     32$lang['Category not selected'] = 'Category not selected'; 
     33$lang['Center Latittude'] = 'Center Latittude'; 
     34$lang['Center Longitude'] = 'Center Longitude'; 
     35$lang['Change Zoom Level'] = 'Change Zoom Level'; 
     36$lang['Click to show pictures of'] = 'Click to show pictures of'; 
     37$lang['Click to zoom on'] = 'Click to zoom on'; 
     38$lang['Configuration'] = 'Configuration'; 
     39$lang['Configuration mode'] = 'Configuration mode'; 
     40$lang['Create a map'] = 'Create a map'; 
     41$lang['Create a pin'] = 'Create a pin'; 
     42$lang['Create a zone'] = 'Create a zone'; 
     43$lang['Delete all points'] = 'Delete all points'; 
     44$lang['Delete last point'] = 'Delete last point'; 
     45$lang['Delete this map'] = 'Delete this map'; 
     46$lang['Delete this picture'] = 'Delete this picture'; 
     47$lang['Delete this pin'] = 'Delete this pin'; 
     48$lang['Delete this zone'] = 'Delete this zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Exif import'; 
     51$lang['fifth step : check association with your maps'] = 'Fifth step : check associations with your maps'; 
     52$lang['first step : create map'] = 'First step : create map'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'Fourth step : make modifications to pin associated to your pictures'; 
     54$lang['last step : Enjoy !'] = 'Last step : Enjoy !'; 
    655$lang['Latitude'] = 'Latitude'; 
    756$lang['Longitude'] = 'Longitude'; 
    8 $lang['Creer une zone'] = 'Create perimeter'; 
    9 $lang['Supprimer le dernier point'] = 'Delete last point'; 
    10 $lang['Enregistrer la zone'] = 'Save perimeter'; 
    11 $lang['Tout effacer'] = 'Remove all'; 
     57$lang['Map mode'] = 'Map mode'; 
     58$lang['Map Title'] = 'Map Title'; 
     59$lang['Modified pictures'] = 'Modified pictures'; 
     60$lang['New Entity'] = 'New Entity'; 
     61$lang['New Map'] = 'New Map'; 
     62$lang['New Picture'] = 'New Picture'; 
     63$lang['New Pin'] = 'New Pin'; 
     64$lang['New Zone'] = 'New Zone'; 
     65$lang['No exif in pictures for this category'] = 'No exif in pictures in this category'; 
     66$lang['No selected entity'] = 'No selected entity'; 
     67$lang['No selected map'] = 'No selected map'; 
     68$lang['Not assign to a category'] = 'Not assign to a category'; 
     69$lang['Open Category'] = 'Open Category'; 
     70$lang['Open Picture'] = 'Open Picture'; 
     71$lang['Open this category'] = 'Open this category'; 
     72$lang['Open this map'] = 'Open this map'; 
     73$lang['Open this picture'] = 'Open this picture'; 
     74$lang['Open this pin'] = 'Open this pin'; 
     75$lang['Open this zone'] = 'Open this zone'; 
     76$lang['Picture'] = 'Picture'; 
     77$lang['Picture mode'] = 'Picture mode'; 
     78$lang['Picture Title'] = 'Picture Title'; 
     79$lang['pictures'] = 'pictures'; 
     80$lang['Pin'] = 'Pin'; 
     81$lang['Pin mode'] = 'Pin mode'; 
     82$lang['Pin Title'] = 'Pin Title'; 
     83$lang['Reload saved zone'] = 'Reload saved zone'; 
     84$lang['second step : import exif data from your pictures'] = 'Second step : import exif data from your pictures'; 
     85$lang['Select a Category'] = 'Select a Category'; 
     86$lang['Select a Map'] = 'Select a Map'; 
     87$lang['Select a picture'] = 'Select a picture'; 
     88$lang['Select a pin'] = 'Select a pin'; 
     89$lang['Select a zone'] = 'Select a zone'; 
     90$lang['Set'] = 'Set'; 
     91$lang['Show guest view'] = 'Show guest view'; 
     92$lang['Show map center'] = 'Show map center'; 
     93$lang['third step : create new zone and new pin'] = 'third step : create new zone and new pin'; 
     94$lang['User manual'] = 'User manual'; 
     95$lang['You need to select a category'] = 'You need to select a category'; 
     96$lang['You need to select a map'] = 'You need to select a map'; 
     97$lang['You need to select a picture'] = 'You need to select a picture'; 
     98$lang['You need to select a pin'] = 'You need to select a pin'; 
     99$lang['You need to select a zone'] = 'You need to select a zone'; 
     100$lang['Zone'] = 'Zone'; 
     101$lang['Zone mode'] = 'Zone mode'; 
     102$lang['Zone Title'] = 'Zone Title'; 
     103$lang['Zoom'] = 'Zoom'; 
     104$lang['Zoom level 1'] = 'Zoom to level 1'; 
     105$lang['Zoom level 10'] = 'Zoom to level 10'; 
     106$lang['Zoom level 11'] = 'Zoom to level 11'; 
     107$lang['Zoom level 12'] = 'Zoom to level 12'; 
     108$lang['Zoom level 13'] = 'Zoom to level 13'; 
     109$lang['Zoom level 14'] = 'Zoom to level 14'; 
     110$lang['Zoom level 15'] = 'Zoom to level 15'; 
     111$lang['Zoom level 16'] = 'Zoom to level 16'; 
     112$lang['Zoom level 17'] = 'Zoom to level 17'; 
     113$lang['Zoom level 18'] = 'Zoom to level 18'; 
     114$lang['Zoom level 19'] = 'Zoom to level 19'; 
     115$lang['Zoom level 2'] = 'Zoom to level 2'; 
     116$lang['Zoom level 20'] = 'Zoom to level 20'; 
     117$lang['Zoom level 3'] = 'Zoom to level 3'; 
     118$lang['Zoom level 4'] = 'Zoom to level 4'; 
     119$lang['Zoom level 5'] = 'Zoom to level 5'; 
     120$lang['Zoom level 6'] = 'Zoom to level 6'; 
     121$lang['Zoom level 7'] = 'Zoom to level 7'; 
     122$lang['Zoom level 8'] = 'Zoom to level 8'; 
     123$lang['Zoom level 9'] = 'Zoom to level 9'; 
     124$lang['Zoom maximum'] = 'Zoom maximum'; 
    12125$lang['Zoom minimum'] = 'Zoom minimum'; 
    13 $lang['Zoom maximum'] = 'Zoom maximum'; 
    14 $lang['Annuler le mode creation'] = 'Cancel perimeter mode'; 
    15 $lang['Set'] = 'Set'; 
    16 $lang['Action'] = 'Action'; 
    17 $lang['Contenu'] = "Show category picture"; 
    18 $lang['Zoom niveau 1'] = 'Zoom to level 1'; 
    19 $lang['Zoom niveau 2'] = 'Zoom to level 2'; 
    20 $lang['Zoom niveau 3'] = 'Zoom to level 3'; 
    21 $lang['Zoom niveau 4'] = 'Zoom to level 4'; 
    22 $lang['Zoom niveau 5'] = 'Zoom to level 5'; 
    23 $lang['Zoom niveau 6'] = 'Zoom to level 6'; 
    24 $lang['Zoom niveau 7'] = 'Zoom to level 7'; 
    25 $lang['Zoom niveau 8'] = 'Zoom to level 8'; 
    26 $lang['Zoom niveau 9'] = 'Zoom to level 9'; 
    27 $lang['Zoom niveau 10'] = 'Zoom to level 10'; 
    28 $lang['Zoom niveau 11'] = 'Zoom to level 11'; 
    29 $lang['Zoom niveau 12'] = 'Zoom to level 12'; 
    30 $lang['Zoom niveau 13'] = 'Zoom to level 13'; 
    31 $lang['Zoom niveau 14'] = 'Zoom to level 14'; 
    32 $lang['Zoom niveau 15'] = 'Zoom to level 15'; 
    33 $lang['Zoom niveau 16'] = 'Zoom to level 16'; 
    34 $lang['Zoom niveau 17'] = 'Zoom to level 17'; 
    35 $lang['Zoom niveau 18'] = 'Zoom to level 18'; 
    36 $lang['Zoom niveau 19'] = 'Zoom to level 19'; 
    37 $lang['Zoom niveau 20'] = 'Zoom to level 20'; 
    38 $lang['Supprimer la localisation'] = 'Delete all data'; 
    39 $lang['Etes-vous sur ?'] = 'Are you sure ?'; 
    40 $lang['Valider'] = 'Commit'; 
    41 $lang['Configuration'] = 'Setup'; 
    42 $lang['Bing Maps Key'] = 'Bing Maps Key'; 
    43 $lang['Center Latittude'] = 'Starting Latitude'; 
    44 $lang['Center Longitude'] = 'Starting Longitude'; 
    45 $lang['Zoom'] = 'Starting Zoom'; 
    46 $lang['Categorie'] = 'Category'; 
    47 $lang['Submit'] = 'Save'; 
    48 $lang['Cliquez pour zoomer sur'] = 'Click to zoom to '; 
    49 $lang['Cliquez pour acceder aux photos'] = 'Click to view '; 
    50  
    51126?> 
  • extensions/Psli_BingMaps/language/fr_FR/plugin.lang.php

    r14891 r15432  
    11<?php 
    2  
    3 $lang['Setup Helper'] = 'Utilisez la carte ci-dessous pour d&eacute;finir la position et le niveau de zoom initial de la carte.'; 
    4 $lang['PointnClick Map'] = 'Carte'; 
    5 $lang['Localisation - Plugin Psli-BingMaps'] = 'Localisation - Plugin Psli-BingMaps'; 
     2// +-----------------------------------------------------------------------+ 
     3// | Piwigo - a PHP based photo gallery                                    | 
     4// +-----------------------------------------------------------------------+ 
     5// | Copyright(C) 2008-2012 Piwigo Team                  http://piwigo.org | 
     6// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net | 
     7// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick | 
     8// +-----------------------------------------------------------------------+ 
     9// | This program is free software; you can redistribute it and/or modify  | 
     10// | it under the terms of the GNU General Public License as published by  | 
     11// | the Free Software Foundation                                          | 
     12// |                                                                       | 
     13// | This program is distributed in the hope that it will be useful, but   | 
     14// | WITHOUT ANY WARRANTY; without even the implied warranty of            | 
     15// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      | 
     16// | General Public License for more details.                              | 
     17// |                                                                       | 
     18// | You should have received a copy of the GNU General Public License     | 
     19// | along with this program; if not, write to the Free Software           | 
     20// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 
     21// | USA.                                                                  | 
     22// +-----------------------------------------------------------------------+ 
     23$lang['Action'] = 'Action'; 
     24$lang['Action Album'] = 'Album a ouvrir'; 
     25$lang['Action Picture'] = 'Photo a afficher'; 
     26$lang['Action Zoom'] = 'Niveau de zoom cible'; 
     27$lang['Added pictures'] = 'Photos ajoutees'; 
     28$lang['Associated map'] = 'Cartes associees'; 
     29$lang['Batch association'] = 'Association en masse'; 
     30$lang['Bing Maps Key'] = 'Bing Maps Key'; 
     31$lang['Category'] = 'Albums'; 
     32$lang['Category not selected'] = 'Album non selectionne'; 
     33$lang['Center Latittude'] = 'Latitude du centre'; 
     34$lang['Center Longitude'] = 'Longitude du centre'; 
     35$lang['Change Zoom Level'] = 'Modifier le niveau de zoom'; 
     36$lang['Click to show pictures of'] = 'Cliquez pour afficher les photos de'; 
     37$lang['Click to zoom on'] = 'Cliquez pour zoomer sur'; 
     38$lang['Configuration'] = 'Configuration'; 
     39$lang['Configuration mode'] = 'Configuration'; 
     40$lang['Create a map'] = 'Creer une carte'; 
     41$lang['Create a pin'] = 'Creer un POI'; 
     42$lang['Create a zone'] = 'Creer une zone'; 
     43$lang['Delete all points'] = 'Supprimer tous les points'; 
     44$lang['Delete last point'] = 'Supprimer le dernier point'; 
     45$lang['Delete this map'] = 'Supprimer cette carte'; 
     46$lang['Delete this picture'] = 'Supprimer cette photo'; 
     47$lang['Delete this pin'] = 'Supprimer ce POI'; 
     48$lang['Delete this zone'] = 'Supprimer cette zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Import des donnees EXIF'; 
     51$lang['fifth step : check association with your maps'] = 'Cinquieme etape : verifiez l\'association avec vos cartes'; 
     52$lang['first step : create map'] = 'Premiere etape : creez les cartes'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'Quatrieme etape : modifier les informations liees aux photos contenant des donnees exifs'; 
     54$lang['last step : Enjoy !'] = 'Derniere etape : Profitez de la carte !'; 
    655$lang['Latitude'] = 'Latitude'; 
    756$lang['Longitude'] = 'Longitude'; 
    8 $lang['Creer une zone'] = 'Creer une zone'; 
    9 $lang['Supprimer le dernier point'] = 'Supprimer le dernier point'; 
    10 $lang['Enregistrer la zone'] = 'Enregistrer la zone'; 
    11 $lang['Tout effacer'] = 'Tout effacer'; 
     57$lang['Map mode'] = 'Gestion des cartes'; 
     58$lang['Map Title'] = 'Titre de la carte'; 
     59$lang['Modified pictures'] = 'Photos modifiees'; 
     60$lang['New Entity'] = 'Nouvelle entite'; 
     61$lang['New Map'] = 'Nouvelle carte'; 
     62$lang['New Picture'] = 'Nouvelle photo'; 
     63$lang['New Pin'] = 'Nouveau POI'; 
     64$lang['New Zone'] = 'Nouvelle zone'; 
     65$lang['No exif in pictures for this category'] = 'Aucune photos avec informations EXIF dans cet album'; 
     66$lang['No selected entity'] = 'Aucune entite selectionnee'; 
     67$lang['No selected map'] = 'Aucune carte selectionnee'; 
     68$lang['Not assign to a category'] = 'Aucun album associe'; 
     69$lang['Open Category'] = 'Ouvrir un album'; 
     70$lang['Open Picture'] = 'Ouvrir une photo'; 
     71$lang['Open this category'] = 'Ouvrir l\'album'; 
     72$lang['Open this map'] = 'Ouvrir cette carte'; 
     73$lang['Open this picture'] = 'Ouvrir la photo'; 
     74$lang['Open this pin'] = 'Ouvrir ce POI'; 
     75$lang['Open this zone'] = 'Ouvrir cette zone'; 
     76$lang['Picture'] = 'Photo'; 
     77$lang['Picture mode'] = 'Gestion des photos geolocalisees'; 
     78$lang['Picture Title'] = 'Titre de la photo'; 
     79$lang['pictures'] = 'Photos'; 
     80$lang['Pin'] = 'POI'; 
     81$lang['Pin mode'] = 'Gestion des POI'; 
     82$lang['Pin Title'] = 'Titre du POI'; 
     83$lang['Reload saved zone'] = 'Recharger la zone'; 
     84$lang['second step : import exif data from your pictures'] = 'Deuxieme etape : importer les informations EXIF de vos photos'; 
     85$lang['Select a Category'] = 'Selectionnez un album'; 
     86$lang['Select a Map'] = 'Selectionnez une carte'; 
     87$lang['Select a picture'] = 'Selectionnez une image'; 
     88$lang['Select a pin'] = 'Selectionnez un POI'; 
     89$lang['Select a zone'] = 'Selectionnez une zone'; 
     90$lang['Set'] = 'Assigner'; 
     91$lang['Show guest view'] = 'Previsualiser la carte'; 
     92$lang['Show map center'] = 'Gerer le centre de la carte'; 
     93$lang['third step : create new zone and new pin'] = 'Troisieme etape : creez des zones et POI'; 
     94$lang['User manual'] = 'Guide d\'utilisation'; 
     95$lang['You need to select a category'] = 'Vous devez selectionner un album'; 
     96$lang['You need to select a map'] = 'Vous devez selectionner une carte'; 
     97$lang['You need to select a picture'] = 'Vous devez selectionner une photo'; 
     98$lang['You need to select a pin'] = 'Vous devez selectionner un POI'; 
     99$lang['You need to select a zone'] = 'Vous devez selectionner une zone'; 
     100$lang['Zone'] = 'Zone'; 
     101$lang['Zone mode'] = 'Gestion des zones'; 
     102$lang['Zone Title'] = 'Titre de la zone'; 
     103$lang['Zoom'] = 'Zoom'; 
     104$lang['Zoom level 1'] = 'Zoom niveau 1'; 
     105$lang['Zoom level 10'] = 'Zoom niveau 10'; 
     106$lang['Zoom level 11'] = 'Zoom niveau 11'; 
     107$lang['Zoom level 12'] = 'Zoom niveau 12'; 
     108$lang['Zoom level 13'] = 'Zoom niveau 13'; 
     109$lang['Zoom level 14'] = 'Zoom niveau 14'; 
     110$lang['Zoom level 15'] = 'Zoom niveau 15'; 
     111$lang['Zoom level 16'] = 'Zoom niveau 16'; 
     112$lang['Zoom level 17'] = 'Zoom niveau 17'; 
     113$lang['Zoom level 18'] = 'Zoom niveau 18'; 
     114$lang['Zoom level 19'] = 'Zoom niveau 19'; 
     115$lang['Zoom level 2'] = 'Zoom niveau 2'; 
     116$lang['Zoom level 20'] = 'Zoom niveau 20'; 
     117$lang['Zoom level 3'] = 'Zoom niveau 3'; 
     118$lang['Zoom level 4'] = 'Zoom niveau 4'; 
     119$lang['Zoom level 5'] = 'Zoom niveau 5'; 
     120$lang['Zoom level 6'] = 'Zoom niveau 6'; 
     121$lang['Zoom level 7'] = 'Zoom niveau 7'; 
     122$lang['Zoom level 8'] = 'Zoom niveau 8'; 
     123$lang['Zoom level 9'] = 'Zoom niveau 9'; 
     124$lang['Zoom maximum'] = 'Zoom maximum'; 
    12125$lang['Zoom minimum'] = 'Zoom minimum'; 
    13 $lang['Zoom maximum'] = 'Zoom maximum'; 
    14 $lang['Annuler le mode creation'] = 'Annuler le mode creation'; 
    15 $lang['Set'] = 'Definir'; 
    16 $lang['Action'] = 'Action'; 
    17 $lang['Contenu'] = "Contenu de l'album"; 
    18 $lang['Zoom niveau 1'] = 'Zoom niveau 1'; 
    19 $lang['Zoom niveau 2'] = 'Zoom niveau 2'; 
    20 $lang['Zoom niveau 3'] = 'Zoom niveau 3'; 
    21 $lang['Zoom niveau 4'] = 'Zoom niveau 4'; 
    22 $lang['Zoom niveau 5'] = 'Zoom niveau 5'; 
    23 $lang['Zoom niveau 6'] = 'Zoom niveau 6'; 
    24 $lang['Zoom niveau 7'] = 'Zoom niveau 7'; 
    25 $lang['Zoom niveau 8'] = 'Zoom niveau 8'; 
    26 $lang['Zoom niveau 9'] = 'Zoom niveau 9'; 
    27 $lang['Zoom niveau 10'] = 'Zoom niveau 10'; 
    28 $lang['Zoom niveau 11'] = 'Zoom niveau 11'; 
    29 $lang['Zoom niveau 12'] = 'Zoom niveau 12'; 
    30 $lang['Zoom niveau 13'] = 'Zoom niveau 13'; 
    31 $lang['Zoom niveau 14'] = 'Zoom niveau 14'; 
    32 $lang['Zoom niveau 15'] = 'Zoom niveau 15'; 
    33 $lang['Zoom niveau 16'] = 'Zoom niveau 16'; 
    34 $lang['Zoom niveau 17'] = 'Zoom niveau 17'; 
    35 $lang['Zoom niveau 18'] = 'Zoom niveau 18'; 
    36 $lang['Zoom niveau 19'] = 'Zoom niveau 19'; 
    37 $lang['Zoom niveau 20'] = 'Zoom niveau 20'; 
    38 $lang['Supprimer la localisation'] = 'Supprimer la localisation'; 
    39 $lang['Etes-vous sur ?'] = 'Etes-vous sur ?'; 
    40 $lang['Valider'] = 'Valider'; 
    41 $lang['Configuration'] = 'Configuration'; 
    42 $lang['Bing Maps Key'] = 'Cle Bing Maps'; 
    43 $lang['Center Latittude'] = 'Latitude initiale'; 
    44 $lang['Center Longitude'] = 'Longitude initiale'; 
    45 $lang['Zoom'] = 'Zoom initial'; 
    46 $lang['Categorie'] = 'Categorie'; 
    47 $lang['Submit'] = 'Enregistrer'; 
    48 $lang['Cliquez pour zoomer sur'] = 'Cliquez pour zoomer sur '; 
    49 $lang['Cliquez pour acceder aux photos'] = 'Cliquez pour acc&egrave;der aux photos '; 
     126 
    50127?> 
  • extensions/Psli_BingMaps/language/it_IT/plugin.lang.php

    r14921 r15432  
    2222// +-----------------------------------------------------------------------+ 
    2323$lang['Action'] = 'Azione'; 
    24 $lang['Annuler le mode creation'] = 'Annulla modalità di perimetro'; 
     24$lang['Action Album'] = 'Action Album'; 
     25$lang['Action Picture'] = 'Action Picture'; 
     26$lang['Action Zoom'] = 'Action Zoom'; 
     27$lang['Added pictures'] = 'Added pictures'; 
     28$lang['Associated map'] = 'Associated map'; 
     29$lang['Batch association'] = 'Batch association'; 
    2530$lang['Bing Maps Key'] = 'Bing Maps Key'; 
    26 $lang['Categorie'] = 'Categoria'; 
     31$lang['Category'] = 'Categoria'; 
     32$lang['Category not selected'] = 'Category not selected'; 
    2733$lang['Center Latittude'] = 'A partire dalla Latitude'; 
    2834$lang['Center Longitude'] = 'A partire dalla longitudine'; 
    29 $lang['Cliquez pour acceder aux photos'] = 'Cliccare per visualizzare'; 
    30 $lang['Cliquez pour zoomer sur'] = 'Clicca per ingrandire per'; 
    31 $lang['Configuration'] = 'setup'; 
    32 $lang['Contenu'] = 'Mostrare l\'immagine della categoria'; 
    33 $lang['Creer une zone'] = 'creare perimetro'; 
    34 $lang['Enregistrer la zone'] = 'salvare perimetro'; 
    35 $lang['Etes-vous sur ?'] = 'Siete sicuri?'; 
     35$lang['Change Zoom Level'] = 'Change Zoom Level'; 
     36$lang['Click to show pictures of'] = 'Cliccare per visualizzare'; 
     37$lang['Click to zoom on'] = 'Clicca per ingrandire per'; 
     38$lang['Configuration'] = 'Setup'; 
     39$lang['Configuration mode'] = 'Configuration mode'; 
     40$lang['Create a map'] = 'Create a map'; 
     41$lang['Create a pin'] = 'Create a pin'; 
     42$lang['Create a zone'] = 'Creare perimetro'; 
     43$lang['Delete all points'] = 'Rimuovere tutto'; 
     44$lang['Delete last point'] = 'Cancellare ultimo punto'; 
     45$lang['Delete this map'] = 'Delete this map'; 
     46$lang['Delete this picture'] = 'Delete this picture'; 
     47$lang['Delete this pin'] = 'Delete this pin'; 
     48$lang['Delete this zone'] = 'Delete this zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Exif import'; 
     51$lang['fifth step : check association with your maps'] = 'fifth step : check association with your maps'; 
     52$lang['first step : create map'] = 'first step : create map'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'fourth step : make modification to pin associated to your pictures'; 
     54$lang['last step : Enjoy !'] = 'last step : Enjoy !'; 
    3655$lang['Latitude'] = 'Latitudine'; 
    37 $lang['Localisation - Plugin Psli-BingMaps'] = 'Localizazione - Plug-in Psli-BingMaps'; 
    3856$lang['Longitude'] = 'Longitudine'; 
    39 $lang['PointnClick Map'] = 'Mappa point and click'; 
     57$lang['Map mode'] = 'Map mode'; 
     58$lang['Map Title'] = 'Map Title'; 
     59$lang['Modified pictures'] = 'Modified pictures'; 
     60$lang['New Entity'] = 'New Entity'; 
     61$lang['New Map'] = 'New Map'; 
     62$lang['New Picture'] = 'New Picture'; 
     63$lang['New Pin'] = 'New Pin'; 
     64$lang['New Zone'] = 'New Zone'; 
     65$lang['No exif in pictures for this category'] = 'No exif in pictures for this category'; 
     66$lang['No selected entity'] = 'No selected entity'; 
     67$lang['No selected map'] = 'No selected map'; 
     68$lang['Not assign to a category'] = 'Not assign to a category'; 
     69$lang['Open Category'] = 'Open Category'; 
     70$lang['Open Picture'] = 'Open Picture'; 
     71$lang['Open this category'] = 'Open this category'; 
     72$lang['Open this map'] = 'Open this map'; 
     73$lang['Open this picture'] = 'Open this picture'; 
     74$lang['Open this pin'] = 'Open this pin'; 
     75$lang['Open this zone'] = 'Open this zone'; 
     76$lang['Picture'] = 'Picture'; 
     77$lang['Picture mode'] = 'Picture mode'; 
     78$lang['Picture Title'] = 'Picture Title'; 
     79$lang['pictures'] = 'pictures'; 
     80$lang['Pin'] = 'Pin'; 
     81$lang['Pin mode'] = 'Pin mode'; 
     82$lang['Pin Title'] = 'Pin Title'; 
     83$lang['Reload saved zone'] = 'Reload saved zone'; 
     84$lang['second step : import exif data from your pictures'] = 'second step : import exif data from your pictures'; 
     85$lang['Select a Category'] = 'Select a Category'; 
     86$lang['Select a Map'] = 'Select a Map'; 
     87$lang['Select a picture'] = 'Select a picture'; 
     88$lang['Select a pin'] = 'Select a pin'; 
     89$lang['Select a zone'] = 'Select a zone'; 
    4090$lang['Set'] = 'Set'; 
    41 $lang['Setup Helper'] = 'Utilizza la mappa per impostare la posizione iniziale, centrale e livello di zoom della mappa.'; 
    42 $lang['Submit'] = 'Salvare'; 
    43 $lang['Supprimer la localisation'] = 'Eliminare tutti i dati'; 
    44 $lang['Supprimer le dernier point'] = 'Cancellare ultimo punto'; 
    45 $lang['Tout effacer'] = 'rimuovere tutto'; 
    46 $lang['Valider'] = 'commettere'; 
    47 $lang['Zoom maximum'] = 'zoom massimo'; 
    48 $lang['Zoom minimum'] = 'zoom minimo'; 
    49 $lang['Zoom niveau 10'] = 'Zoom al livello 10'; 
    50 $lang['Zoom niveau 11'] = 'Zoom al livello 11'; 
    51 $lang['Zoom niveau 12'] = 'Zoom al livello 12'; 
    52 $lang['Zoom niveau 13'] = 'Zoom al livello 13'; 
    53 $lang['Zoom niveau 14'] = 'Zoom al livello 14'; 
    54 $lang['Zoom niveau 15'] = 'Zoom al livello 15'; 
    55 $lang['Zoom niveau 16'] = 'Zoom al livello 16'; 
    56 $lang['Zoom niveau 17'] = 'Zoom al livello 17'; 
    57 $lang['Zoom niveau 18'] = 'Zoom al livello 18'; 
    58 $lang['Zoom niveau 19'] = 'Zoom al livello 19'; 
    59 $lang['Zoom niveau 1'] = 'Zoom al livello 1'; 
    60 $lang['Zoom niveau 20'] = 'Zoom al livello 20'; 
    61 $lang['Zoom niveau 2'] = 'Zoom al livello 2'; 
    62 $lang['Zoom niveau 3'] = 'Zoom al livello 3'; 
    63 $lang['Zoom niveau 4'] = 'Zoom al livello 4'; 
    64 $lang['Zoom niveau 5'] = 'Zoom al livello 5'; 
    65 $lang['Zoom niveau 6'] = 'Zoom al livello 6'; 
    66 $lang['Zoom niveau 7'] = 'Zoom al livello 7'; 
    67 $lang['Zoom niveau 8'] = 'Zoom al livello 8'; 
    68 $lang['Zoom niveau 9'] = 'Zoom al livello 9'; 
     91$lang['Show guest view'] = 'Show guest view'; 
     92$lang['Show map center'] = 'Show map center'; 
     93$lang['third step : create new zone and new pin'] = 'third step : create new zone and new pin'; 
     94$lang['User manual'] = 'User manual'; 
     95$lang['You need to select a category'] = 'You need to select a category'; 
     96$lang['You need to select a map'] = 'You need to select a map'; 
     97$lang['You need to select a picture'] = 'You need to select a picture'; 
     98$lang['You need to select a pin'] = 'You need to select a pin'; 
     99$lang['You need to select a zone'] = 'You need to select a zone'; 
     100$lang['Zone'] = 'Zone'; 
     101$lang['Zone mode'] = 'Zone mode'; 
     102$lang['Zone Title'] = 'Zone Title'; 
    69103$lang['Zoom'] = 'A partire dallo Zoom'; 
     104$lang['Zoom level 1'] = 'Zoom al livello 1'; 
     105$lang['Zoom level 10'] = 'Zoom al livello 10'; 
     106$lang['Zoom level 11'] = 'Zoom al livello 11'; 
     107$lang['Zoom level 12'] = 'Zoom al livello 12'; 
     108$lang['Zoom level 13'] = 'Zoom al livello 13'; 
     109$lang['Zoom level 14'] = 'Zoom al livello 14'; 
     110$lang['Zoom level 15'] = 'Zoom al livello 15'; 
     111$lang['Zoom level 16'] = 'Zoom al livello 16'; 
     112$lang['Zoom level 17'] = 'Zoom al livello 17'; 
     113$lang['Zoom level 18'] = 'Zoom al livello 18'; 
     114$lang['Zoom level 19'] = 'Zoom al livello 19'; 
     115$lang['Zoom level 2'] = 'Zoom al livello 2'; 
     116$lang['Zoom level 20'] = 'Zoom al livello 20'; 
     117$lang['Zoom level 3'] = 'Zoom al livello 3'; 
     118$lang['Zoom level 4'] = 'Zoom al livello 4'; 
     119$lang['Zoom level 5'] = 'Zoom al livello 5'; 
     120$lang['Zoom level 6'] = 'Zoom al livello 6'; 
     121$lang['Zoom level 7'] = 'Zoom al livello 7'; 
     122$lang['Zoom level 8'] = 'Zoom al livello 8'; 
     123$lang['Zoom level 9'] = 'Zoom al livello 9'; 
     124$lang['Zoom maximum'] = 'Zoom massimo'; 
     125$lang['Zoom minimum'] = 'Zoom minimo'; 
    70126?> 
  • extensions/Psli_BingMaps/language/pt_PT/plugin.lang.php

    r14908 r15432  
    2222// +-----------------------------------------------------------------------+ 
    2323$lang['Action'] = 'Acção'; 
    24 $lang['Annuler le mode creation'] = 'Cancelar o modo perimetro'; 
     24$lang['Action Album'] = 'Action Album'; 
     25$lang['Action Picture'] = 'Action Picture'; 
     26$lang['Action Zoom'] = 'Action Zoom'; 
     27$lang['Added pictures'] = 'Added pictures'; 
     28$lang['Associated map'] = 'Associated map'; 
     29$lang['Batch association'] = 'Batch association'; 
    2530$lang['Bing Maps Key'] = 'Chave dos mapas bing'; 
    26 $lang['Categorie'] = 'Categoria'; 
     31$lang['Category'] = 'Categoria'; 
     32$lang['Category not selected'] = 'Category not selected'; 
    2733$lang['Center Latittude'] = 'Iniciar Latitude'; 
    2834$lang['Center Longitude'] = 'Iniciar Longitude'; 
    29 $lang['Cliquez pour acceder aux photos'] = 'Clique para ver'; 
    30 $lang['Cliquez pour zoomer sur'] = 'Clique para zoom '; 
     35$lang['Change Zoom Level'] = 'Change Zoom Level'; 
     36$lang['Click to show pictures of'] = 'Clique para ver'; 
     37$lang['Click to zoom on'] = 'Clique para zoom '; 
    3138$lang['Configuration'] = 'Instalar'; 
    32 $lang['Contenu'] = 'Mostrar a foto da categoria'; 
    33 $lang['Creer une zone'] = 'Criar perimetro'; 
    34 $lang['Enregistrer la zone'] = 'Salvar perimetro'; 
    35 $lang['Etes-vous sur ?'] = 'Tem a certeza?'; 
     39$lang['Configuration mode'] = 'Configuration mode'; 
     40$lang['Create a map'] = 'Create a map'; 
     41$lang['Create a pin'] = 'Create a pin'; 
     42$lang['Create a zone'] = 'Criar perimetro'; 
     43$lang['Delete all points'] = 'Remover tudo'; 
     44$lang['Delete last point'] = 'Apagar último ponto'; 
     45$lang['Delete this map'] = 'Delete this map'; 
     46$lang['Delete this picture'] = 'Delete this picture'; 
     47$lang['Delete this pin'] = 'Delete this pin'; 
     48$lang['Delete this zone'] = 'Delete this zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Exif import'; 
     51$lang['fifth step : check association with your maps'] = 'fifth step : check association with your maps'; 
     52$lang['first step : create map'] = 'first step : create map'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'fourth step : make modification to pin associated to your pictures'; 
     54$lang['last step : Enjoy !'] = 'last step : Enjoy !'; 
    3655$lang['Latitude'] = 'Latitude'; 
    37 $lang['Localisation - Plugin Psli-BingMaps'] = 'Localização - Extenção Psli-BingMaps'; 
    3856$lang['Longitude'] = 'Longitude'; 
    39 $lang['PointnClick Map'] = 'Aponte e clique no mapa'; 
    40 $lang['Set'] = 'Definir'; 
    41 $lang['Setup Helper'] = 'Use o mapa para definir a posição central inicial e nível de zoom do mapa'; 
    42 $lang['Submit'] = 'Salvar'; 
    43 $lang['Supprimer la localisation'] = 'Apagar todos os dados'; 
    44 $lang['Supprimer le dernier point'] = 'Apagar último ponto'; 
    45 $lang['Tout effacer'] = 'Remover tudo'; 
    46 $lang['Valider'] = 'Cometer'; 
     57$lang['Map mode'] = 'Map mode'; 
     58$lang['Map Title'] = 'Map Title'; 
     59$lang['Modified pictures'] = 'Modified pictures'; 
     60$lang['New Entity'] = 'New Entity'; 
     61$lang['New Map'] = 'New Map'; 
     62$lang['New Picture'] = 'New Picture'; 
     63$lang['New Pin'] = 'New Pin'; 
     64$lang['New Zone'] = 'New Zone'; 
     65$lang['No exif in pictures for this category'] = 'No exif in pictures for this category'; 
     66$lang['No selected entity'] = 'No selected entity'; 
     67$lang['No selected map'] = 'No selected map'; 
     68$lang['Not assign to a category'] = 'Not assign to a category'; 
     69$lang['Open Category'] = 'Open Category'; 
     70$lang['Open Picture'] = 'Open Picture'; 
     71$lang['Open this category'] = 'Open this category'; 
     72$lang['Open this map'] = 'Open this map'; 
     73$lang['Open this picture'] = 'Open this picture'; 
     74$lang['Open this pin'] = 'Open this pin'; 
     75$lang['Open this zone'] = 'Open this zone'; 
     76$lang['Picture'] = 'Picture'; 
     77$lang['Picture mode'] = 'Picture mode'; 
     78$lang['Picture Title'] = 'Picture Title'; 
     79$lang['pictures'] = 'pictures'; 
     80$lang['Pin'] = 'Pin'; 
     81$lang['Pin mode'] = 'Pin mode'; 
     82$lang['Pin Title'] = 'Pin Title'; 
     83$lang['Reload saved zone'] = 'Reload saved zone'; 
     84$lang['second step : import exif data from your pictures'] = 'second step : import exif data from your pictures'; 
     85$lang['Select a Category'] = 'Select a Category'; 
     86$lang['Select a Map'] = 'Select a Map'; 
     87$lang['Select a picture'] = 'Select a picture'; 
     88$lang['Select a pin'] = 'Select a pin'; 
     89$lang['Select a zone'] = 'Select a zone'; 
     90$lang['Set'] = 'Set'; 
     91$lang['Show guest view'] = 'Show guest view'; 
     92$lang['Show map center'] = 'Show map center'; 
     93$lang['third step : create new zone and new pin'] = 'third step : create new zone and new pin'; 
     94$lang['User manual'] = 'User manual'; 
     95$lang['You need to select a category'] = 'You need to select a category'; 
     96$lang['You need to select a map'] = 'You need to select a map'; 
     97$lang['You need to select a picture'] = 'You need to select a picture'; 
     98$lang['You need to select a pin'] = 'You need to select a pin'; 
     99$lang['You need to select a zone'] = 'You need to select a zone'; 
     100$lang['Zone'] = 'Zone'; 
     101$lang['Zone mode'] = 'Zone mode'; 
     102$lang['Zone Title'] = 'Zone Title'; 
     103$lang['Zoom'] = 'Iniciar zoom'; 
     104$lang['Zoom level 1'] = 'Zoom nível 1'; 
     105$lang['Zoom level 10'] = 'Zoom nível 10'; 
     106$lang['Zoom level 11'] = 'Zoom nível 11'; 
     107$lang['Zoom level 12'] = 'Zoom nível 12'; 
     108$lang['Zoom level 13'] = 'Zoom nível 13'; 
     109$lang['Zoom level 14'] = 'Zoom nível 14'; 
     110$lang['Zoom level 15'] = 'Zoom nível 15'; 
     111$lang['Zoom level 16'] = 'Zoom nível 16'; 
     112$lang['Zoom level 17'] = 'Zoom nível 17'; 
     113$lang['Zoom level 18'] = 'Zoom nível 18'; 
     114$lang['Zoom level 19'] = 'Zoom nível 19'; 
     115$lang['Zoom level 2'] = 'Zoom nível 2'; 
     116$lang['Zoom level 20'] = 'Zoom nível 20'; 
     117$lang['Zoom level 3'] = 'Zoom nível 3'; 
     118$lang['Zoom level 4'] = 'Zoom nível 4'; 
     119$lang['Zoom level 5'] = 'Zoom nível 5'; 
     120$lang['Zoom level 6'] = 'Zoom nível 6'; 
     121$lang['Zoom level 7'] = 'Zoom nível 7'; 
     122$lang['Zoom level 8'] = 'Zoom nível 8'; 
     123$lang['Zoom level 9'] = 'Zoom nível 9'; 
    47124$lang['Zoom maximum'] = 'Zoom máximo'; 
    48125$lang['Zoom minimum'] = 'Zoom mínimo'; 
    49 $lang['Zoom niveau 10'] = 'Zoom nível 10'; 
    50 $lang['Zoom niveau 11'] = 'Zoom nível 11'; 
    51 $lang['Zoom niveau 12'] = 'Zoom nível 12'; 
    52 $lang['Zoom niveau 13'] = 'Zoom nível 13'; 
    53 $lang['Zoom niveau 14'] = 'Zoom nível 14'; 
    54 $lang['Zoom niveau 15'] = 'Zoom nível 15'; 
    55 $lang['Zoom niveau 16'] = 'Zoom nível 16'; 
    56 $lang['Zoom niveau 17'] = 'Zoom nível 17'; 
    57 $lang['Zoom niveau 18'] = 'Zoom nível 18'; 
    58 $lang['Zoom niveau 19'] = 'Zoom nível 19'; 
    59 $lang['Zoom niveau 1'] = 'Zoom nível 1'; 
    60 $lang['Zoom niveau 20'] = 'Zoom nível 20'; 
    61 $lang['Zoom niveau 2'] = 'Zoom nível 2'; 
    62 $lang['Zoom niveau 3'] = 'Zoom nível 3'; 
    63 $lang['Zoom niveau 4'] = 'Zoom nível 4'; 
    64 $lang['Zoom niveau 5'] = 'Zoom nível 5'; 
    65 $lang['Zoom niveau 6'] = 'Zoom nível 6'; 
    66 $lang['Zoom niveau 7'] = 'Zoom nível 7'; 
    67 $lang['Zoom niveau 8'] = 'Zoom nível 8'; 
    68 $lang['Zoom niveau 9'] = 'Zoom nível 9'; 
    69 $lang['Zoom'] = 'Iniciar zoom'; 
    70126?> 
  • extensions/Psli_BingMaps/language/ru_RU/plugin.lang.php

    r15181 r15432  
    2222// +-----------------------------------------------------------------------+ 
    2323$lang['Action'] = 'Действие'; 
    24 $lang['Annuler le mode creation'] = 'Отмена режима периметра'; 
     24$lang['Action Album'] = 'Action Album'; 
     25$lang['Action Picture'] = 'Action Picture'; 
     26$lang['Action Zoom'] = 'Action Zoom'; 
     27$lang['Added pictures'] = 'Added pictures'; 
     28$lang['Associated map'] = 'Associated map'; 
     29$lang['Batch association'] = 'Batch association'; 
    2530$lang['Bing Maps Key'] = 'Ключ Bing Maps'; 
    26 $lang['Categorie'] = 'Категория'; 
     31$lang['Category'] = 'Категория'; 
     32$lang['Category not selected'] = 'Category not selected'; 
    2733$lang['Center Latittude'] = 'Начальная широта'; 
    2834$lang['Center Longitude'] = 'Начальная долгота'; 
    29 $lang['Cliquez pour acceder aux photos'] = 'Нажать для просмотра'; 
    30 $lang['Cliquez pour zoomer sur'] = 'Нажать для изменения масштаба до '; 
     35$lang['Change Zoom Level'] = 'Change Zoom Level'; 
     36$lang['Click to show pictures of'] = 'Нажать для просмотра'; 
     37$lang['Click to zoom on'] = 'Нажать для изменения масштаба до'; 
    3138$lang['Configuration'] = 'Установка'; 
    32 $lang['Contenu'] = 'Показать картинку категории'; 
    33 $lang['Creer une zone'] = 'Создание периметра'; 
    34 $lang['Enregistrer la zone'] = 'Сохранить периметр'; 
    35 $lang['Etes-vous sur ?'] = 'Уверены?'; 
     39$lang['Configuration mode'] = 'Configuration mode'; 
     40$lang['Create a map'] = 'Create a map'; 
     41$lang['Create a pin'] = 'Create a pin'; 
     42$lang['Create a zone'] = 'Создание периметра'; 
     43$lang['Delete all points'] = 'Удалить все'; 
     44$lang['Delete last point'] = 'Удалить последнюю точку'; 
     45$lang['Delete this map'] = 'Delete this map'; 
     46$lang['Delete this picture'] = 'Delete this picture'; 
     47$lang['Delete this pin'] = 'Delete this pin'; 
     48$lang['Delete this zone'] = 'Delete this zone'; 
     49$lang['Entity field'] = 'Entity field'; 
     50$lang['Exif import'] = 'Exif import'; 
     51$lang['fifth step : check association with your maps'] = 'fifth step : check association with your maps'; 
     52$lang['first step : create map'] = 'first step : create map'; 
     53$lang['fourth step : make modification to pin associated to your pictures'] = 'fourth step : make modification to pin associated to your pictures'; 
     54$lang['last step : Enjoy !'] = 'last step : Enjoy !'; 
    3655$lang['Latitude'] = 'Широта'; 
    37 $lang['Localisation - Plugin Psli-BingMaps'] = 'Локализация - Плагин Psli-BingMaps'; 
    3856$lang['Longitude'] = 'Долгота'; 
    39 $lang['PointnClick Map'] = 'Укажите точку на карте'; 
    40 $lang['Set'] = 'Набор'; 
    41 $lang['Setup Helper'] = 'Используйте карту, чтобы установить начальную позицию центра и уровень масштабирования карты.'; 
    42 $lang['Submit'] = 'Сохранить'; 
    43 $lang['Supprimer la localisation'] = 'Удалить все данные'; 
    44 $lang['Supprimer le dernier point'] = 'Удалить последнюю точку'; 
    45 $lang['Tout effacer'] = 'Удалить все'; 
    46 $lang['Valider'] = 'Передать'; 
     57$lang['Map mode'] = 'Map mode'; 
     58$lang['Map Title'] = 'Map Title'; 
     59$lang['Modified pictures'] = 'Modified pictures'; 
     60$lang['New Entity'] = 'New Entity'; 
     61$lang['New Map'] = 'New Map'; 
     62$lang['New Picture'] = 'New Picture'; 
     63$lang['New Pin'] = 'New Pin'; 
     64$lang['New Zone'] = 'New Zone'; 
     65$lang['No exif in pictures for this category'] = 'No exif in pictures for this category'; 
     66$lang['No selected entity'] = 'No selected entity'; 
     67$lang['No selected map'] = 'No selected map'; 
     68$lang['Not assign to a category'] = 'Not assign to a category'; 
     69$lang['Open Category'] = 'Open Category'; 
     70$lang['Open Picture'] = 'Open Picture'; 
     71$lang['Open this category'] = 'Open this category'; 
     72$lang['Open this map'] = 'Open this map'; 
     73$lang['Open this picture'] = 'Open this picture'; 
     74$lang['Open this pin'] = 'Open this pin'; 
     75$lang['Open this zone'] = 'Open this zone'; 
     76$lang['Picture'] = 'Picture'; 
     77$lang['Picture mode'] = 'Picture mode'; 
     78$lang['Picture Title'] = 'Picture Title'; 
     79$lang['pictures'] = 'pictures'; 
     80$lang['Pin'] = 'Pin'; 
     81$lang['Pin mode'] = 'Pin mode'; 
     82$lang['Pin Title'] = 'Pin Title'; 
     83$lang['Reload saved zone'] = 'Reload saved zone'; 
     84$lang['second step : import exif data from your pictures'] = 'second step : import exif data from your pictures'; 
     85$lang['Select a Category'] = 'Select a Category'; 
     86$lang['Select a Map'] = 'Select a Map'; 
     87$lang['Select a picture'] = 'Select a picture'; 
     88$lang['Select a pin'] = 'Select a pin'; 
     89$lang['Select a zone'] = 'Select a zone'; 
     90$lang['Set'] = 'Set'; 
     91$lang['Show guest view'] = 'Show guest view'; 
     92$lang['Show map center'] = 'Show map center'; 
     93$lang['third step : create new zone and new pin'] = 'third step : create new zone and new pin'; 
     94$lang['User manual'] = 'User manual'; 
     95$lang['You need to select a category'] = 'You need to select a category'; 
     96$lang['You need to select a map'] = 'You need to select a map'; 
     97$lang['You need to select a picture'] = 'You need to select a picture'; 
     98$lang['You need to select a pin'] = 'You need to select a pin'; 
     99$lang['You need to select a zone'] = 'You need to select a zone'; 
     100$lang['Zone'] = 'Zone'; 
     101$lang['Zone mode'] = 'Zone mode'; 
     102$lang['Zone Title'] = 'Zone Title'; 
     103$lang['Zoom'] = 'Начальный зум'; 
     104$lang['Zoom level 1'] = 'Зум уровень 1'; 
     105$lang['Zoom level 10'] = 'Зум уровень 10'; 
     106$lang['Zoom level 11'] = 'Зум уровень 11'; 
     107$lang['Zoom level 12'] = 'Зум уровень 12'; 
     108$lang['Zoom level 13'] = 'Зум уровень 13'; 
     109$lang['Zoom level 14'] = 'Зум уровень 14'; 
     110$lang['Zoom level 15'] = 'Зум уровень 15'; 
     111$lang['Zoom level 16'] = 'Зум уровень 16'; 
     112$lang['Zoom level 17'] = 'Зум уровень 17'; 
     113$lang['Zoom level 18'] = 'Зум уровень 18'; 
     114$lang['Zoom level 19'] = 'Зум уровень 19'; 
     115$lang['Zoom level 2'] = 'Зум уровень 2'; 
     116$lang['Zoom level 20'] = 'Зум уровень 20'; 
     117$lang['Zoom level 3'] = 'Зум уровень 3'; 
     118$lang['Zoom level 4'] = 'Зум уровень 4'; 
     119$lang['Zoom level 5'] = 'Зум уровень 5'; 
     120$lang['Zoom level 6'] = 'Зум уровень 6'; 
     121$lang['Zoom level 7'] = 'Зум уровень 7'; 
     122$lang['Zoom level 8'] = 'Зум уровень 8'; 
     123$lang['Zoom level 9'] = 'Зум уровень 9'; 
    47124$lang['Zoom maximum'] = 'Максимальный зум'; 
    48125$lang['Zoom minimum'] = 'Минимальный зум'; 
    49 $lang['Zoom niveau 10'] = 'Зум уровень 10'; 
    50 $lang['Zoom niveau 11'] = 'Зум уровень 11'; 
    51 $lang['Zoom niveau 12'] = 'Зум уровень 12'; 
    52 $lang['Zoom niveau 13'] = 'Зум уровень 13'; 
    53 $lang['Zoom niveau 14'] = 'Зум уровень 14'; 
    54 $lang['Zoom niveau 15'] = 'Зум уровень 15'; 
    55 $lang['Zoom niveau 16'] = 'Зум уровень 16'; 
    56 $lang['Zoom niveau 17'] = 'Зум уровень 17'; 
    57 $lang['Zoom niveau 18'] = 'Зум уровень 18'; 
    58 $lang['Zoom niveau 19'] = 'Зум уровень 19'; 
    59 $lang['Zoom niveau 1'] = 'Зум уровень 1'; 
    60 $lang['Zoom niveau 20'] = 'Зум уровень 20'; 
    61 $lang['Zoom niveau 2'] = 'Зум уровень 2'; 
    62 $lang['Zoom niveau 3'] = 'Зум уровень 3'; 
    63 $lang['Zoom niveau 4'] = 'Зум уровень 4'; 
    64 $lang['Zoom niveau 5'] = 'Зум уровень 5'; 
    65 $lang['Zoom niveau 6'] = 'Зум уровень 6'; 
    66 $lang['Zoom niveau 7'] = 'Зум уровень 7'; 
    67 $lang['Zoom niveau 8'] = 'Зум уровень 8'; 
    68 $lang['Zoom niveau 9'] = 'Зум уровень 9'; 
    69 $lang['Zoom'] = 'Начальный зум'; 
    70126?> 
  • extensions/Psli_BingMaps/main.inc.php

    r14913 r15432  
    66Author: psli  
    77Description: Extension to piwigo for use of bing maps to navigate in geolocalized album 
    8  
    9 ----------------------------------------------------------------------------------------- 
    10 1.1             2012-05-08      Ajout de l'internationalisation et de l'anglais 
    11 ----------------------------------------------------------------------------------------- 
    12 1.0             2012-05-07      Verison initiale 
    13 ----------------------------------------------------------------------------------------- 
    148*/ 
    159// Chech whether we are indeed included by Piwigo. 
    1610if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1711 
    18 // define Path for PHP and JS file 
     12// define generic Path 
    1913define ('PSLI_BINGMAPS_PATH', PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'); 
    20 //define ('PSLI_BINGMAPS_JS', PSLI_BINGMAPS_PATH.'JS/Psli-BingMaps.js'); 
     14define('PSLI_BINGMAPS_TEMPLATE_PATH', dirname(__FILE__).'/'); 
    2115define ('PSLI_BINGMAPS_VERSION_INC_PHP', PSLI_BINGMAPS_PATH.'include/version.inc.php'); 
    22 define ('PSLI_BINGMAPS_ADMIN_INC_PHP', PSLI_BINGMAPS_PATH.'include/admin.inc.php'); 
    23 define ('PSLI_BINGMAPS_GUEST_INC_PHP', PSLI_BINGMAPS_PATH.'include/guest.inc.php'); 
    24 define ('PSLI_BINGMAPS_ADMIN_PHP', PSLI_BINGMAPS_PATH.'include/admin.php'); 
    2516 
    26 // define Path for template file 
    27 define('PSLI_BINGMAPS_TEMPLATE_PATH', dirname(__FILE__).'/'); 
    28 define ('PSLI_BINGMAPS_ADMIN_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'template/admin.tpl'); 
    29  
    30 // Include define data 
     17// Include define data and global function 
    3118include_once(dirname(__FILE__).'/include/const.inc.php'); 
     19include_once(dirname(__FILE__).'/include/function.inc.php'); 
    3220 
    3321// Check plugin update 
    3422include_once(PSLI_BINGMAPS_VERSION_INC_PHP); 
     23 
     24//******* Language data ******* 
     25load_language('plugin.lang', PSLI_BINGMAPS_TEMPLATE_PATH); 
    3526 
    3627// Plugin for admin 
     
    5546                $root = $row['value']; 
    5647        } 
    57         define ('PSLI_BINGMAPS_JS', $root.'plugins/Psli-BingMaps/JS/Psli-BingMaps.js'); 
    58         include_once(PSLI_BINGMAPS_ADMIN_INC_PHP); 
     48         
     49        // define Path for admin file 
     50        define ('PSLI_BINGMAPS_ADMIN_PHP', PSLI_BINGMAPS_PATH.'admin/admin.php'); 
     51        define ('PSLI_BINGMAPS_CLASS_ENTITY_PHP', PSLI_BINGMAPS_PATH.'admin/class/psli_entity.class.php'); 
     52         
     53        // Define path for configuration tab  
     54        define ('PSLI_BINGMAPS_ADMIN_CONF_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_conf.inc.php'); 
     55        define ('PSLI_BINGMAPS_ADMIN_CONF_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_conf.tpl'); 
     56         
     57        // Define path for map tab 
     58        define ('PSLI_BINGMAPS_ADMIN_MAP_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_map.inc.php'); 
     59        define ('PSLI_BINGMAPS_CLASS_MAP_PHP', PSLI_BINGMAPS_PATH.'admin/class/psli_map.class.php'); 
     60        define ('PSLI_BINGMAPS_ADMIN_MAP_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_map.tpl'); 
     61        define ('PSLI_BINGMAPS_JS_MAP', $root.'plugins/Psli-BingMaps/admin/JS/Psli-BingMaps-Map.js'); 
     62         
     63        // Define path for pin tab 
     64        define ('PSLI_BINGMAPS_ADMIN_PIN_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_pin.inc.php'); 
     65        define ('PSLI_BINGMAPS_CLASS_PIN_PHP', PSLI_BINGMAPS_PATH.'admin/class/psli_pin.class.php'); 
     66        define ('PSLI_BINGMAPS_ADMIN_PIN_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_pin.tpl'); 
     67        define ('PSLI_BINGMAPS_JS_PIN', $root.'plugins/Psli-BingMaps/admin/JS/Psli-BingMaps-Pin.js'); 
     68         
     69        // Define path for zone tab 
     70        define ('PSLI_BINGMAPS_ADMIN_ZONE_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_zone.inc.php'); 
     71        define ('PSLI_BINGMAPS_CLASS_ZONE_PHP', PSLI_BINGMAPS_PATH.'admin/class/psli_zone.class.php'); 
     72        define ('PSLI_BINGMAPS_ADMIN_ZONE_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_zone.tpl'); 
     73        define ('PSLI_BINGMAPS_JS_ZONE', $root.'plugins/Psli-BingMaps/admin/JS/Psli-BingMaps-Zone.js'); 
     74         
     75        // Define path for picture tab 
     76        define ('PSLI_BINGMAPS_ADMIN_PICTURE_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_picture.inc.php'); 
     77        define ('PSLI_BINGMAPS_CLASS_PICTURE_PHP', PSLI_BINGMAPS_PATH.'admin/class/psli_picture.class.php'); 
     78        define ('PSLI_BINGMAPS_ADMIN_PICTURE_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_picture.tpl'); 
     79         
     80        // Define path for exif tab 
     81        define ('PSLI_BINGMAPS_ADMIN_EXIF_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_exif.inc.php'); 
     82        define ('PSLI_BINGMAPS_ADMIN_EXIF_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_exif.tpl'); 
     83         
     84        // Define path for batch tab 
     85        define ('PSLI_BINGMAPS_ADMIN_BATCH_PHP', PSLI_BINGMAPS_PATH.'admin/include/admin_batch.inc.php'); 
     86        define ('PSLI_BINGMAPS_ADMIN_BATCH_TPL', PSLI_BINGMAPS_TEMPLATE_PATH.'admin/template/admin_batch.tpl'); 
     87        define ('PSLI_BINGMAPS_ADMIN_BATCH_CSS', PSLI_BINGMAPS_PATH.'admin/css/admin_batch.css'); 
     88         
     89         
     90        // Hook on to event on administration page. 
     91        add_event_handler('get_admin_plugin_menu_links', 'PSLIBINGMAPS_admin_menu'); 
    5992} 
    6093else 
     
    67100        $result = pwg_query($query); 
    68101        $row = pwg_db_fetch_assoc($result); 
     102         
     103        define ('PSLI_BINGMAPS_GUEST_INC_PHP', PSLI_BINGMAPS_PATH.'include/guest.inc.php'); 
    69104        define ('PSLI_BINGMAPS_JS', $row['value'].'plugins/Psli-BingMaps/JS/Psli-BingMaps.js'); 
    70105         
     
    72107} 
    73108 
     109/********************************************************************************************/ 
     110// Add an entry to the 'Plugins' menu. 
     111/********************************************************************************************/ 
     112function PSLIBINGMAPS_admin_menu($menu) { 
     113 array_push( 
     114   $menu, 
     115   array( 
     116     'NAME'  => 'PSLI-BingMaps', 
     117     'URL'   => get_admin_plugin_menu_link(PSLI_BINGMAPS_ADMIN_PHP) 
     118   ) 
     119 ); 
     120 return $menu; 
     121} 
     122 
    74123?> 
  • extensions/Psli_BingMaps/maintain.inc.php

    r14913 r15432  
    11<?php 
    22/* 
    3 Version: 1.1 
    43Plugin Name: Psli-BingMaps 
    54Author: psli  
    6 Description: Maintenance function for plugin "Psli-BingMaps" 
    75*/ 
    86 
     
    1412 
    1513/********************************************************************************************/ 
    16 //               Plugin activation 
     14//               Plugin installation 
    1715// Create all needed tables and parameters ( with value by default) in CONFIG_TABLE 
    1816/********************************************************************************************/ 
     
    2220         
    2321        $sql = ' 
     22                CREATE TABLE IF NOT EXISTS `'.PSLI_MAPS_TABLE."` ( 
     23                        `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, 
     24                        `id_category` smallint(5) unsigned DEFAULT NULL, 
     25                        `title` text, 
     26                        `lat` decimal(15,12) DEFAULT '0.000000000000', 
     27                        `lon` decimal(15,12) DEFAULT '0.000000000000', 
     28                        `zoom` smallint(6) DEFAULT NULL, 
     29                        PRIMARY KEY (`id`) 
     30                ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;"; 
     31        pwg_query($sql); 
     32         
     33        $sql = ' 
    2434                CREATE TABLE IF NOT EXISTS `'.PSLI_ENTITIES_TABLE."` ( 
    2535                        `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, 
     
    2737                        `lon` decimal(15,12) DEFAULT '0.000000000000', 
    2838                        `title` text, 
    29                         `id_category` smallint(5) unsigned DEFAULT NULL, 
    3039                        `zoomMin` smallint(6) DEFAULT NULL, 
    3140                        `zoomMax` smallint(6) DEFAULT NULL, 
    3241                        `action` smallint(6) DEFAULT NULL, 
    33                         PRIMARY KEY (`id`), 
    34                         UNIQUE KEY `psli_i10` (`id_category`) 
     42                        `id_action` smallint(5) unsigned DEFAULT NULL, 
     43                        `type` smallint(1) default 1, 
     44                        PRIMARY KEY (`id`) 
    3545                ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;"; 
    3646        pwg_query($sql); 
     47         
     48        $sql = ' 
     49                CREATE TABLE IF NOT EXISTS `'.PSLI_ENTITIES_MAPS_TABLE."` ( 
     50                        `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, 
     51                        `id_entity` smallint(5) unsigned DEFAULT NULL, 
     52                        `id_map` smallint(5) unsigned DEFAULT NULL, 
     53                        PRIMARY KEY (`id`), 
     54                        UNIQUE `psli_entity_map_1` (`id_entity`, `id_map`), 
     55                        INDEX `psli_entity_map_2` (`id_entity`), 
     56                        INDEX `psli_entity_map_3` (`id_map`) 
     57                ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;"; 
     58        pwg_query($sql);         
    3759         
    3860        $sql = ' 
     
    4567                ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'; 
    4668        pwg_query($sql); 
    47          
    48         $sql = 'INSERT INTO '.CONFIG_TABLE." (param, value) VALUES ('".PSLI_CONF_LON."', '0');"; 
    49         pwg_query($sql); 
    50          
    51         $sql = 'INSERT INTO '.CONFIG_TABLE." (param, value) VALUES ('".PSLI_CONF_LAT."', '0');"; 
    52         pwg_query($sql); 
    53          
    54         $sql = 'INSERT INTO '.CONFIG_TABLE." (param, value) VALUES ('".PSLI_CONF_ZOOM."', '2');"; 
    55         pwg_query($sql); 
    56          
     69                 
    5770        $sql = 'INSERT INTO '.CONFIG_TABLE." (param, value) VALUES ('".PSLI_CONF_KEY."', 'to define');"; 
    5871        pwg_query($sql); 
    5972         
    60         $sql = 'INSERT INTO '.CONFIG_TABLE." (param, value) VALUES ('".PSLI_CONF_CATEGORY."', 'to define');"; 
    61         pwg_query($sql); 
    62  
    6373        $sql = 'INSERT INTO '.CONFIG_TABLE." (param, value) VALUES ('".PSLI_CONF_VERSION_MAJ."', '".PSLI_VERSION_MAJ."');"; 
    6474        pwg_query($sql); 
     
    7080        pwg_query($sql); 
    7181         
     82        array_push($page['infos'], l10n('Information data registered in database')); 
    7283} 
    7384 
     
    7990{ 
    8091        global $prefixeTable; 
     92        $sql = 'DROP TABLE `'.PSLI_MAPS_TABLE.'`;'; 
     93        pwg_query($sql); 
    8194        $sql = 'DROP TABLE `'.PSLI_ENTITIES_TABLE.'`;'; 
     95        pwg_query($sql); 
     96        $sql = 'DROP TABLE `'.PSLI_ENTITIES_MAPS_TABLE.'`;'; 
    8297        pwg_query($sql); 
    8398        $sql = 'DROP TABLE `'.PSLI_DATAPOINT_TABLE.'`;'; 
    8499        pwg_query($sql); 
    85         $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_LAT."';"; 
    86         pwg_query($sql); 
    87         $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_LON."';"; 
    88         pwg_query($sql); 
    89         $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_ZOOM."';"; 
    90         pwg_query($sql); 
    91100        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_KEY."';"; 
    92         pwg_query($sql); 
    93         $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_CATEGORY."';"; 
    94101        pwg_query($sql); 
    95102        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_VERSION_MAJ."';"; 
     
    97104        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_VERSION_MIN."';"; 
    98105        pwg_query($sql); 
     106        $sql = 'DELETE FROM `'.CONFIG_TABLE."` WHERE param = '".PSLI_CONF_PATH."';"; 
     107        pwg_query($sql); 
     108         
     109        array_push($page['infos'], l10n('Information data registered in database')); 
    99110} 
    100111 
Note: See TracChangeset for help on using the changeset viewer.