changeset 378:df40c63d69f4

*** empty log message ***
author abukhman
date Mon, 25 Oct 2010 14:13:22 +0200
parents faffd92fcdd0
children 4b1b5dd7578f
files MpdlXmlTextServer.py zpt/page_main_text.zpt
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Mon Oct 25 13:59:31 2010 +0200
+++ b/MpdlXmlTextServer.py	Mon Oct 25 14:13:22 2010 +0200
@@ -196,7 +196,7 @@
             return originalPage
     
     
-    def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
+    def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
         """returns single page from fulltext"""
         docpath = docinfo['textURLPath']
         path = docinfo['textURLPath']
--- a/zpt/page_main_text.zpt	Mon Oct 25 13:59:31 2010 +0200
+++ b/zpt/page_main_text.zpt	Mon Oct 25 14:13:22 2010 +0200
@@ -1,4 +1,4 @@
 
 <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','');">
-  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
+  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo,  pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
 </tal:block>
\ No newline at end of file