Changeset 119:6548a620b766 in documentViewer for zpt


Ignore:
Timestamp:
May 25, 2010, 9:52:17 AM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/page_main_text_dict.zpt

    r118 r119  
    1 
    2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    4 <html xmlns="http://www.w3.org/1999/xhtml">
    5 <head>
    6   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    7   <!--  block used for definitions and scripts in head -->
    8   <metal:block metal:define-macro="head">
    9   </metal:block>
    10 </head>
    11 <body>
    12   <!-- block used for main content area -->
    13   <metal:block metal:define-macro="main">
    14     <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo)"></div>
    15   </metal:block>
    16 </body>
    17 </html>
    18 
     1<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','') ">
     2  <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
     3</tal:block>
Note: See TracChangeset for help on using the changeset viewer.