Changeset 7567 for extensions/GMaps
- Timestamp:
- Nov 2, 2010, 8:05:01 AM (14 years ago)
- Location:
- extensions/GMaps
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/admin/gmaps_kmlfiles_iListFiles.tpl
r7133 r7567 1 1 <table class="littlefont"> 2 2 {foreach from=$datas item=data} 3 <tr >3 <tr title='[gmaps=kmlId:{$data.id};]'> 4 4 <td>{$data.name}</td> 5 5 <td style="width:300px;">{$data.file}</td> -
extensions/GMaps/admin/gmaps_maps_iListMaps.tpl
r7177 r7567 1 1 <table class="littlefont"> 2 2 {foreach from=$datas item=data} 3 <tr >3 <tr title='[gmaps=id:{$data.id};]'> 4 4 <td>{$data.name}</td> 5 5 <td style="width:150px;">{$data.displayType}</td> -
extensions/GMaps/gmaps_pip.class.inc.php
r7562 r7567 117 117 118 118 $mapParams=array(); 119 if(preg_match_all('/\[gmaps=(?:id:(?<id>\d+);|width:(?<width>\d+);|height:(?<height>\d+);|markerImg:(?<markerImg> .+);|kmlId:(?<kmlId>\d+);|kmlUrl:"(?<kmlUrl>.+)";|allowBubble:(?<allowBubble>y|n);|kmlZoom:(?<kmlZoom>y|n);|markerVisible:(?<markerVisible>y|n);)+\]/i',$desc,$mapParams,PREG_SET_ORDER)>0)119 if(preg_match_all('/\[gmaps=(?:id:(?<id>\d+);|width:(?<width>\d+);|height:(?<height>\d+);|markerImg:(?<markerImg>[a-z0-9\-\._]+);|kmlId:(?<kmlId>\d+);|kmlUrl:"(?<kmlUrl>.+)";|allowBubble:(?<allowBubble>y|n);|kmlZoom:(?<kmlZoom>y|n);|markerVisible:(?<markerVisible>y|n);)+\]/i',$desc,$mapParams,PREG_SET_ORDER)>0) 120 120 { 121 121 … … 132 132 133 133 $desc = preg_replace( 134 '/\[gmaps=(?:id:(?<id>\d+);|width:(?<width>\d+);|height:(?<height>\d+);|markerImg:(?<markerImg> .+);|kmlId:(?<kmlId>\d+);|kmlUrl:"(?<kmlUrl>.+)";|allowBubble:(?<allowBubble>y|n);|kmlZoom:(?<kmlZoom>y|n);|markerVisible:(?<markerVisible>y|n);)+\]/i',134 '/\[gmaps=(?:id:(?<id>\d+);|width:(?<width>\d+);|height:(?<height>\d+);|markerImg:(?<markerImg>[a-z0-9\-\._]+);|kmlId:(?<kmlId>\d+);|kmlUrl:"(?<kmlUrl>.+)";|allowBubble:(?<allowBubble>y|n);|kmlZoom:(?<kmlZoom>y|n);|markerVisible:(?<markerVisible>y|n);)+\]/i', 135 135 "<div class='gmapsMarkup' id='gmapsMarkupId$1'></div>", $desc); 136 136 … … 157 157 while($row=pwg_db_fetch_assoc($result)) 158 158 { 159 $mapParam['kmlUrl']=dirname($_SERVER['SCRIPT_URI']).self::KML_DIRECTORY.$row[ 0];159 $mapParam['kmlUrl']=dirname($_SERVER['SCRIPT_URI']).self::KML_DIRECTORY.$row['file']; 160 160 } 161 161 } -
extensions/GMaps/main.inc.php
r7562 r7567 68 68 | | | . Incompatibility with ExtendedDescription 69 69 | | | 70 | | | 71 | | | 70 | | | * mantis bug:1991 71 | | | . [gmaps] markup, kmlId is not functionnal 72 72 | | | 73 73 | | |
Note: See TracChangeset
for help on using the changeset viewer.