changeset 421:057ba56855e1

*** empty log message ***
author abukhman
date Thu, 06 Jan 2011 16:44:18 +0100
parents c587311171ed
children aca50da17290
files zpt/page_main_pureXml.zpt zpt/page_main_text.zpt
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/page_main_pureXml.zpt	Thu Jan 06 16:44:18 2011 +0100
+++ b/zpt/page_main_pureXml.zpt	Thu Jan 06 16:44:18 2011 +0100
@@ -1,4 +1,4 @@
 
 <tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None)   ">
-  <div tal:content="structure python:here.getTextPage(mode='pureXml',pn=pageinfo['current'],docinfo=docinfo,   pageinfo=pageinfo)"></div>
+  <div tal:content="structure python:pageinfo['textPage']"></div>
 </tal:block>
\ No newline at end of file
--- a/zpt/page_main_text.zpt	Thu Jan 06 16:44:18 2011 +0100
+++ b/zpt/page_main_text.zpt	Thu Jan 06 16:44:18 2011 +0100
@@ -1,3 +1,3 @@
 <tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','');characterNormalization python:pageinfo.get('characterNormalization','');optionToggle python:pageinfo.get('optionToggle','');">
-  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo,  pageinfo=pageinfo, highlightQuery=highlightQuery,sn=sn, characterNormalization=characterNormalization,optionToggle=optionToggle)"></div>
+  <div tal:content="structure python:pageinfo['textPage']"></div>
 </tal:block>
\ No newline at end of file