changeset 119:6548a620b766

*** empty log message ***
author abukhman
date Tue, 25 May 2010 11:52:17 +0200
parents 18716d722f47
children f1fc821f88a9
files zpt/page_main_text_dict.zpt
diffstat 1 files changed, 3 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/page_main_text_dict.zpt	Tue May 25 11:52:00 2010 +0200
+++ b/zpt/page_main_text_dict.zpt	Tue May 25 11:52:17 2010 +0200
@@ -1,18 +1,3 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-  <!--  block used for definitions and scripts in head -->
-  <metal:block metal:define-macro="head">
-  </metal:block>
-</head>
-<body>
-  <!-- block used for main content area -->
-  <metal:block metal:define-macro="main">
-    <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo)"></div>
-  </metal:block>
-</body>
-</html>
-
+<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','') ">
+  <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
+</tal:block>
\ No newline at end of file