Mercurial > hg > documentViewer
comparison zpt/viewer_xml.zpt @ 512:92a6443a6f16 elementtree
fix pageFlow.
| author | casties |
|---|---|
| date | Tue, 28 Feb 2012 18:53:06 +0100 |
| parents | 551ca1641a5e |
| children | 0b8bed1223ad |
comparison
equal
deleted
inserted
replaced
| 511:551ca1641a5e | 512:92a6443a6f16 |
|---|---|
| 25 </head> | 25 </head> |
| 26 <body tal:condition="numPages"> | 26 <body tal:condition="numPages"> |
| 27 <tal:block | 27 <tal:block |
| 28 tal:define="docpath docinfo/textURLPath; | 28 tal:define="docpath docinfo/textURLPath; |
| 29 pn pageinfo/pn; | 29 pn pageinfo/pn; |
| 30 flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl'; | 30 flowLtr python:docinfo.get('pageFlow','ltr')!='rtl'; |
| 31 textPage python:here.getTextPage(mode='xml', pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';"> | 31 textPage python:here.getTextPage(mode='xml', pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';"> |
| 32 <!-- header --> | 32 <!-- header --> |
| 33 <div class="page-head"> | 33 <div class="page-head"> |
| 34 <metal:block metal:use-macro="here/template/common_template/macros/head" /> | 34 <metal:block metal:use-macro="here/template/common_template/macros/head" /> |
| 35 </div> | 35 </div> |
