Index: trunk/extensions/SemanticMaps/YahooMaps/SM_YahooMapsFormInput.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | <div id='".$this->mapName."' style='width: {$this->width}px; height: {$this->height}px;'></div> |
76 | 76 | |
77 | 77 | <script type='$wgJsMimeType'>/*<![CDATA[*/ |
78 | | - addOnloadHook(makeFormInputYahooMap('$this->mapName', '$this->coordsFieldName', $this->centre_lat, $this->centre_lon, $this->zoom, $this->type, [$this->$types], [$this->controls], $this->autozoom, $this->marker_lat, $this->centre_lon, $this->height)); |
| 78 | + addOnloadHook(makeFormInputYahooMap('$this->mapName', '$this->coordsFieldName', $this->centre_lat, $this->centre_lon, $this->zoom, $this->type, [$this->types], [$this->controls], $this->autozoom, $this->marker_lat, $this->centre_lon, $this->height)); |
79 | 79 | /*]]>*/</script>"; |
80 | 80 | }
|
81 | 81 |
|
Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | |
37 | 37 | // Only initialize the extension when all dependencies are present. |
38 | 38 | if (defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' )) { |
39 | | - define('SM_VERSION', '0.5.3 a2'); |
| 39 | + define('SM_VERSION', '0.5.3 a3'); |
40 | 40 | |
41 | 41 | $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; |
42 | 42 | $smgIP = $IP . '/extensions/SemanticMaps'; |
Index: trunk/extensions/SemanticMaps/QueryPrinters/SM_QueryPrinters.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | 'in_array' => array_keys($egMapsAvailableGeoServices) |
57 | 57 | ), |
58 | 58 | 'default' => $egMapsDefaultGeoService |
59 | | - ), |
| 59 | + ), |
60 | 60 | 'format' => array( |
61 | 61 | 'required' => true, |
62 | 62 | 'default' => $egMapsDefaultServices['qp'] |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | |
142 | 142 | // Add the QP to SMW |
143 | 143 | self::addFormatQP($format, $qp['class']); |
144 | | - |
| 144 | + |
145 | 145 | // If SMW supports aliasing, add the aliases to $smwgResultAliases |
146 | 146 | if (isset($smwgResultAliases)) { |
147 | 147 | $smwgResultAliases[$format] = $aliases; |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | else { // If SMW does not support aliasing, add every alias as a format |
150 | 150 | foreach($aliases as $alias) self::addFormatQP($alias, $qp['class']); |
151 | 151 | } |
152 | | - } |
| 152 | + } |
153 | 153 | |
154 | 154 | /** |
155 | 155 | * Adds a QP to SMW's $smwgResultFormats array or SMWQueryProcessor |