Last change
on this file was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
1.3 KB
|
Rev | Line | |
---|
[1] | 1 | <html xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
| 2 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
| 3 | i18n:domain="plone"> |
---|
| 4 | <body> |
---|
| 5 | <div metal:define-macro="portlet" |
---|
| 6 | tal:define="brain python:here.portal_catalog(path='/'.join(here.getPhysicalPath())); |
---|
| 7 | longlat python:test(len(brain)==1 and brain[0].portal_type != 'Map' and brain[0].geoLocation, brain, [])" |
---|
| 8 | tal:condition="longlat"> |
---|
| 9 | |
---|
| 10 | <script type="text/javascript" src="" |
---|
| 11 | tal:attributes="src string:http://maps.google.com/maps?file=api&v=2&key=${here/getMapKey}"> |
---|
| 12 | </script> |
---|
| 13 | <span tal:replace="structure python:here.maps_markers(longlat, loc=longlat[0].geoLocation, zoom=5, node='portlet_map', controls='small', auto='None')" /> |
---|
| 14 | |
---|
| 15 | <dl class="portlet" id="portlet-maps"> |
---|
| 16 | <dt class="portletHeader"> |
---|
| 17 | <a href="#" |
---|
| 18 | tal:attributes="href string:http://maps.google.com/" |
---|
| 19 | i18n:translate="box_maps">Google Maps</a> |
---|
| 20 | </dt> |
---|
| 21 | <dd class="portletItem"> |
---|
| 22 | <div id="portlet_map" style="position: relative; height: 200px;"></div> |
---|
| 23 | </dd> |
---|
| 24 | <dd class="portletFooter even"> |
---|
| 25 | <a href="#" |
---|
| 26 | tal:attributes="href string:${here_url}/maps_view" |
---|
| 27 | i18n:translate="box_maps_view"> |
---|
| 28 | Large Screen |
---|
| 29 | </a> |
---|
| 30 | </dd> |
---|
| 31 | |
---|
| 32 | </dl> |
---|
| 33 | |
---|
| 34 | </div> |
---|
| 35 | </body> |
---|
| 36 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.