changeset 429:ebe50e81710f

bibliograpfical info
author abukhman
date Mon, 14 Feb 2011 15:41:12 +0100
parents 672f8857ece8
children d6a2125a4b09
files zpt/page_main_pureXml.zpt zpt/page_main_text.zpt
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/page_main_pureXml.zpt	Mon Feb 14 15:41:12 2011 +0100
+++ b/zpt/page_main_pureXml.zpt	Mon Feb 14 15:41:12 2011 +0100
@@ -1,4 +1,3 @@
-
-<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None)   ">
+<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','');optionToggle python:pageinfo.get('optionToggle','');  ">
   <div tal:content="structure python:pageinfo['textPage']"></div>
 </tal:block>
\ No newline at end of file
--- a/zpt/page_main_text.zpt	Mon Feb 14 15:41:12 2011 +0100
+++ b/zpt/page_main_text.zpt	Mon Feb 14 15:41:12 2011 +0100
@@ -1,3 +1,10 @@
-<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','');">
+<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','');
+                       pn python:pageinfo.get('pn',1);
+                       characterNormalization python:pageinfo.get('characterNormalization','');
+                       optionToggle python:pageinfo.get('optionToggle','');">
   <div tal:content="structure python:pageinfo['textPage']"></div>
+  
 </tal:block>
\ No newline at end of file