Index: trunk/extensions/Maps/Maps.settings.php |
— | — | @@ -0,0 +1,81 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * File defining the settings for the Maps extension. |
| 6 | + * Changing one of these settings can be done by assigning to $egMapsSettings. |
| 7 | + * More info can be found at http://mapping.referata.com/wiki/Help:Configuration |
| 8 | + * |
| 9 | + * @since 1.1 |
| 10 | + * |
| 11 | + * @file Maps.settings.php |
| 12 | + * @ingroup Maps |
| 13 | + * |
| 14 | + * @licence GNU GPL v3+ |
| 15 | + * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
| 16 | + */ |
| 17 | + |
| 18 | +$s = array( |
| 19 | + |
| 20 | + new Setting( |
| 21 | + 'services', |
| 22 | + array( |
| 23 | + 'googlemaps2', |
| 24 | + 'googlemaps3', |
| 25 | + 'yahoomaps', |
| 26 | + 'openlayers', |
| 27 | + 'osm' |
| 28 | + ) |
| 29 | + ), |
| 30 | + |
| 31 | + new Setting( 'defaultService', 'googlemaps3' ), |
| 32 | + |
| 33 | + new Setting( |
| 34 | + 'defaultServices', |
| 35 | + array( |
| 36 | + 'display_point' => 'googlemaps3', |
| 37 | + 'display_map' => 'googlemaps3' |
| 38 | + ) |
| 39 | + ), |
| 40 | + |
| 41 | + new Setting( |
| 42 | + 'geoServices', |
| 43 | + array( |
| 44 | + 'geonames', |
| 45 | + 'google', |
| 46 | + 'yahoo' |
| 47 | + ) |
| 48 | + ), |
| 49 | + |
| 50 | + new Setting( |
| 51 | + 'defaultGeoService', |
| 52 | + 'geonames' |
| 53 | + ), |
| 54 | + |
| 55 | + new Setting( |
| 56 | + 'useGeoOverrides', |
| 57 | + true |
| 58 | + ), |
| 59 | + |
| 60 | + new Setting( |
| 61 | + 'allowCoordsGeocoding', |
| 62 | + true |
| 63 | + ), |
| 64 | + |
| 65 | + new Setting( |
| 66 | + 'enableGeoCache', |
| 67 | + true |
| 68 | + ), |
| 69 | + |
| 70 | + new Setting( |
| 71 | + 'geoNamesUser', |
| 72 | + '' |
| 73 | + ), |
| 74 | + |
| 75 | + // TODO |
| 76 | +); |
| 77 | + |
| 78 | +foreach ( $s as &$setting ) { |
| 79 | + $setting->setMessage( 'maps-setting-' . $setting->getName() ); |
| 80 | +} |
| 81 | + |
| 82 | +return $s; |
\ No newline at end of file |
Property changes on: trunk/extensions/Maps/Maps.settings.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 83 | + native |