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, 4 months ago) by casties
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
finally managed to use an optional template for content_overview!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html tal:define="cot here/getContentOverviewTemplate">
<tal:block metal:use-macro="cot/macros/page">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
  <body>
    <tal:block metal:fill-slot="page_head">
      <h2 tal:condition="here/title" tal:content="here/title"/>
    </tal:block>
<!-- the rest is generated by the template -->
    <table>
      <tr>
	<td>
	  <!-- link block -->
	  <tal:block tal:repeat="ob here/getAllMapAreas">
	    <a tal:replace="structure python:here.createMapLink(ob)"/><br/>
	  </tal:block>
	  <!-- end of link block -->
	</td>
	<td valign="top">
	  <div tal:replace="structure python:here.createMapImg()"/>
	</td>
      </tr>
    </table>
    <!-- auxiliary image block -->
    <tal:block tal:repeat="ob here/getAllMapAreas">
      <a tal:replace="structure python:here.createMapAux(ob)"/>
    </tal:block>
    <!-- end of auxiliary image block -->
  </body>
</tal:block>
</html>

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