Mercurial > hg > documentViewer
changeset 512:92a6443a6f16 elementtree
fix pageFlow.
author | casties |
---|---|
date | Tue, 28 Feb 2012 18:53:06 +0100 |
parents | 551ca1641a5e |
children | 67095296c95a |
files | zpt/viewer_images.zpt zpt/viewer_text.zpt zpt/viewer_xml.zpt |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/viewer_images.zpt Tue Feb 28 18:21:59 2012 +0100 +++ b/zpt/viewer_images.zpt Tue Feb 28 18:53:06 2012 +0100 @@ -54,7 +54,7 @@ <tal:block tal:define="docpath docinfo/textURLPath | nothing; pn pageinfo/pn; - flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl';"> + flowLtr python:docinfo.get('pageFlow','ltr')!='rtl';"> <div class="page-head"> <metal:block metal:use-macro="here/template/common_template/macros/head" /> </div>
--- a/zpt/viewer_text.zpt Tue Feb 28 18:21:59 2012 +0100 +++ b/zpt/viewer_text.zpt Tue Feb 28 18:53:06 2012 +0100 @@ -28,7 +28,7 @@ <tal:block tal:define="docpath docinfo/textURLPath; pn pageinfo/pn; - flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl'; + flowLtr python:docinfo.get('pageFlow','ltr')!='rtl'; query python:request.get('query', None); queryType python:request.get('queryType','fulltextMorph'); textPage python:here.getTextPage(mode=viewLayer, pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';">
--- a/zpt/viewer_xml.zpt Tue Feb 28 18:21:59 2012 +0100 +++ b/zpt/viewer_xml.zpt Tue Feb 28 18:53:06 2012 +0100 @@ -27,7 +27,7 @@ <tal:block tal:define="docpath docinfo/textURLPath; pn pageinfo/pn; - flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl'; + flowLtr python:docinfo.get('pageFlow','ltr')!='rtl'; textPage python:here.getTextPage(mode='xml', pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';"> <!-- header --> <div class="page-head">