Mercurial > hg > documentViewer
comparison zpt/page_main_images.zpt @ 92:727fa536860c
more changed templates, now with metal:use-macro
zogilib mostly working
author | casties |
---|---|
date | Fri, 09 Apr 2010 20:33:53 +0200 |
parents | 4938ce551ae8 |
children | 027134cca83e |
comparison
equal
deleted
inserted
replaced
91:b8c491e52ebc | 92:727fa536860c |
---|---|
1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mk python:options.get('mk','')"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 <iframe height="100%" width="100%" tal:attributes="src string:${here/template/zogilib/absolute_url}?fn=${docinfo/imagePath}&pn=${pageinfo/current}&$mk"/> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 </tal:block> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 <head> | |
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
6 <!-- block used for definitions and scripts in head --> | |
7 <metal:block metal:define-macro="head" tal:define="zogilib nocall:here/zogilib; fn docinfo/imagePath; pn pageinfo/current"> | |
8 <metal:block metal:use-macro="here/zogilib/template/main_embed/macros/head"/> | |
9 </metal:block> | |
10 </head> | |
11 <body onload="dl_init()"> | |
12 <!-- block used for main content area --> | |
13 <metal:block metal:define-macro="main" tal:define="zogilib nocall:here/zogilib"> | |
14 <tal:block tal:define="global zogilib_hasNavRef nothing"/> | |
15 <metal:block metal:use-macro="here/zogilib/template/main_embed/macros/main"/> | |
16 </metal:block> | |
17 </body> | |
18 </html> |