Changeset 405

Show
Ignore:
Timestamp:
07/18/06 04:09:18
Author:
piv
Message:

automatically select map api key from qPloneGoogleMaps getMapKey

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • geolocation/trunk/skins/geolocation/edit_location.cpt

    r404 r405  
    1111 
    1212    <script type="text/javascript" src="" 
    13             tal:define="key python:modules['Products.qPloneGoogleMaps.config'].MAP_API_KEY" 
    14             tal:attributes="src string:http://maps.google.com/maps?file=api&amp;v=2&amp;key=${key}"> 
     13            tal:attributes="src string:http://maps.google.com/maps?file=api&amp;v=2&amp;key=${here/getMapKey}"> 
    1514    </script> 
    1615    <script type="text/javascript" src=""