|
Last change
on this file since 404 was
1,
checked in by myroslav, 21 years ago
|
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
|
File size:
728 bytes
|
| 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',)) |
|---|
Note: See
TracBrowser
for help on using the repository browser.