File:  [Repository] / ECHO_content / zpt / ECHO_content_overview.zpt
Revision 1.16: download - view: text, annotated - select for diffs - revision graph
Wed Jan 19 19:38:55 2005 UTC (19 years, 5 months ago) by casties
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
finally managed to use an optional template for content_overview!

    1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    2: <html tal:define="cot here/getContentOverviewTemplate">
    3: <tal:block metal:use-macro="cot/macros/page">
    4: <head>
    5:   <meta http-equiv="content-type" content="text/html; charset=utf-8">
    6: </head>
    7:   <body>
    8:     <tal:block metal:fill-slot="page_head">
    9:       <h2 tal:condition="here/title" tal:content="here/title"/>
   10:     </tal:block>
   11: <!-- the rest is generated by the template -->
   12:     <table>
   13:       <tr>
   14: 	<td>
   15: 	  <!-- link block -->
   16: 	  <tal:block tal:repeat="ob here/getAllMapAreas">
   17: 	    <a tal:replace="structure python:here.createMapLink(ob)"/><br/>
   18: 	  </tal:block>
   19: 	  <!-- end of link block -->
   20: 	</td>
   21: 	<td valign="top">
   22: 	  <div tal:replace="structure python:here.createMapImg()"/>
   23: 	</td>
   24:       </tr>
   25:     </table>
   26:     <!-- auxiliary image block -->
   27:     <tal:block tal:repeat="ob here/getAllMapAreas">
   28:       <a tal:replace="structure python:here.createMapAux(ob)"/>
   29:     </tal:block>
   30:     <!-- end of auxiliary image block -->
   31:   </body>
   32: </tal:block>
   33: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>