|
Revision 534, 0.7 KB
(checked in by piv, 3 years ago)
|
|
added tests, used adapter and browser in maps_topic_view, DEPENDENCY.txt, version.txt, HISTORY.txt and README.txt,
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | try: |
|---|
| 2 | from Products.CMFCore.permissions import setDefaultRoles |
|---|
| 3 | except ImportError: |
|---|
| 4 | from Products.CMFCore.CMFCorePermissions import setDefaultRoles |
|---|
| 5 | |
|---|
| 6 | PROJECTNAME = 'qPloneGoogleMaps' |
|---|
| 7 | |
|---|
| 8 | DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content" |
|---|
| 9 | GLOBALS = globals() |
|---|
| 10 | SKINS_DIR = 'skins' |
|---|
| 11 | |
|---|
| 12 | NEW_PORTAL_TYPES = ['Map', 'Marker', 'Overlay'] |
|---|
| 13 | MAP_API_KEYS = ["http://localhost.com:8888/map|ABQIAAAAPKXXAksH6LF9wD3-iB3Z9hR-_Derz1M-sZYUdeXG3J1uZOMrKxT98efydo7fhYu6kuaFv5ESjlw4mw", ] |
|---|
| 14 | |
|---|
| 15 | MAP_PORTLETS = ['here/portlet_maps/macros/portlet', 'here/portlet_overlays/macros/portlet',] |
|---|
| 16 | PROPERTY_SHEET = 'maps_properties' |
|---|
| 17 | PROPERTY_FIELD = 'map_api_keys' |
|---|
| 18 | GEO_INDEX = 'geoLocation' |
|---|
| 19 | |
|---|
| 20 | setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner',)) |
|---|