Changeset 19 for ATGoogleMaps
- Timestamp:
- 06/17/06 23:28:57 (6 years ago)
- Location:
- ATGoogleMaps/trunk/skins/googlemaps
- Files:
-
- 1 added
- 1 edited
-
gmap_dtml.dtml (added)
-
gmap_view.pt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ATGoogleMaps/trunk/skins/googlemaps/gmap_view.pt
r5 r19 3 3 metal:use-macro="here/main_template/macros/master" 4 4 i18n:domain="plone"> 5 <head> 6 <metal:block fill-slot="javascript_head_slot"> 7 <script type="text/javascript" src="" 8 tal:attributes="src string:http://${here/server}/maps?file=api&v=2&key=${here/portal_properties/gmap_properties/api_key}"> 9 </script> 10 11 <span tal:condition="python: 1" tal:replace="structure here/gmap_dtml" /> 12 </metal:block> 13 </head> 14 5 15 <body> 6 16 7 17 <metal:main fill-slot="main"> 8 <tal:main-macro metal:define-macro="main">18 <tal:main-macro metal:define-macro="main"> 9 19 10 <div metal:use-macro="here/document_actions/macros/document_actions"> 11 Document actions (print, sendto etc) 20 <div metal:use-macro="here/document_actions/macros/document_actions"> 21 Document actions (print, sendto etc) 22 </div> 23 24 <h1 tal:content="here/pretty_title_or_id" class="documentFirstHeading"> 25 Title or id 26 </h1> 27 28 <div metal:use-macro="here/document_byline/macros/byline"> 29 Get the byline - contains details about author and modification date. 30 </div> 31 32 <p class="documentDescription" 33 tal:content="here/Description" 34 tal:condition="here/Description"> 35 Description 36 </p> 37 38 <!-- gmarker --> 39 <ul> 40 <tal:gmarker tal:repeat="marker python: here.objectValues(['GMarker'])"> 41 <li id="" tal:attributes="id string:marker_link_${repeat/marker/number}"> 42 <a href="javascript:void(0)" onclick="this.blur()" tal:content="marker/pretty_title_or_id"> 43 Gmarker title 44 </a> 45 </li> 46 </tal:gmarker> 47 </ul> 48 49 <tal:gmarker tal:repeat="marker python: here.objectValues(['GMarker'])"> 50 <div id="" style="display: none;" 51 tal:attributes="id string:marker_html_${repeat/marker/number}"> 52 <div style="width: 290px;"> 53 <div class="documentActions"> 54 <a href="" tal:condition="marker/url" 55 tal:attributes="href marker/url" 56 i18n:translate="" i18n:domain="plone"> 57 Link 58 </a> 59 </div> 60 61 <h1 class="documentFirstHeading" tal:content="marker/pretty_title_or_id"> 62 Title or id 63 </h1> 64 65 <img src="" style="float: left; margin: 5px;" 66 tal:condition="marker/imageurl" 67 tal:attributes="src marker/imageurl" /> 68 69 <div class="documentDescription" 70 tal:content="marker/Description" 71 tal:condition="marker/Description"> 72 Description 73 </div> 74 75 <div class="address" 76 tal:content="marker/address" 77 tal:condition="marker/address"> 78 address 79 </div> 80 81 <div class="phone" 82 tal:content="marker/phone" 83 tal:condition="marker/phone"> 84 phone 85 </div> 86 87 <div style="clear: both;" tal:condition="marker/getText" 88 tal:content="structure marker/getText"> 89 Body Text 90 </div> 91 12 92 </div> 13 14 <h1 tal:content="here/pretty_title_or_id" class="documentFirstHeading">15 Title or id16 </h1>17 18 <div metal:use-macro="here/document_byline/macros/byline">19 Get the byline - contains details about author and modification date.20 </div>21 22 <p class="documentDescription"23 tal:content="here/Description"24 tal:condition="here/Description">25 Description26 </p>27 28 <!-- gmarker -->29 <ul>30 <tal:gmarker tal:repeat="marker python: here.objectValues(['GMarker'])">31 <li id="" tal:attributes="id string:marker_link_${repeat/marker/number}">32 <a href="javascript:void(0)" onclick="this.blur()" tal:content="marker/pretty_title_or_id">33 Gmarker title34 </a>35 </li>36 </tal:gmarker>37 </ul>38 39 <tal:gmarker tal:repeat="marker python: here.objectValues(['GMarker'])">40 <div id="" style="display: none;"41 tal:attributes="id string:marker_html_${repeat/marker/number}">42 <div style="width: 290px;">43 <div class="documentActions">44 <a href="" tal:condition="marker/url"45 tal:attributes="href marker/url"46 i18n:translate="" i18n:domain="plone">47 Link48 </a>49 93 </div> 50 51 <h1 class="documentFirstHeading" tal:content="marker/pretty_title_or_id"> 52 Title or id 53 </h1> 54 55 <img src="" style="float: left; margin: 5px;" 56 tal:condition="marker/imageurl" 57 tal:attributes="src marker/imageurl" /> 58 59 <div class="documentDescription" 60 tal:content="marker/Description" 61 tal:condition="marker/Description"> 62 Description 63 </div> 64 65 <div class="address" 66 tal:content="marker/address" 67 tal:condition="marker/address"> 68 address 69 </div> 70 71 <div class="phone" 72 tal:content="marker/phone" 73 tal:condition="marker/phone"> 74 phone 75 </div> 76 77 <div style="clear: both;" tal:condition="marker/getText" 78 tal:content="structure marker/getText"> 79 Body Text 80 </div> 81 82 </div> 83 </div> 84 </tal:gmarker> 85 86 <script src="http://www.google.com/maps?file=api&v=1&key=abcdefg" 87 tal:attributes="src string:http://${here/server}/maps?file=api&v=1&key=${here/portal_properties/gmap_properties/api_key}" 88 type="text/javascript"> 89 </script> 90 91 <span tal:replace="structure here/gmap" /> 92 93 </tal:main-macro> 94 </tal:gmarker> 95 96 <div id="map" style="position: relative; height: 480px;"></div> 97 98 <pre> 99 <span tal:replace="here/gmap_dtml" /> 100 </pre> 101 102 </tal:main-macro> 94 103 </metal:main> 95 104 96 105 </body> 97 106 </html> 107
Note: See TracChangeset
for help on using the changeset viewer.
