Mercurial > hg > documentViewer
diff zpt/page_main_text.zpt @ 89:3d95ba1bf535
first version with new full-text infrastructure and slightly changed templates
author | casties |
---|---|
date | Fri, 19 Mar 2010 12:42:40 +0100 |
parents | |
children | 6a4a72033d58 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/page_main_text.zpt Fri Mar 19 12:42:40 2010 +0100 @@ -0,0 +1,3 @@ +<tal:block tal:define="mode python:options.get('viewMode','text'); pageinfo python:options.get('pageinfo',''); docinfo python:options.get('docinfo','')"> + <div tal:content="structure python:here.getTextPage(mode=mode,pn=pageinfo['current'],docinfo=docinfo)"></div> +</tal:block> \ No newline at end of file