diff zpt/page_main_text.zpt @ 495:ede0c93de798 metalify-1

update branch to latest version of HEAD (with modularisierung branch)
author casties
date Thu, 17 Jun 2010 19:35:24 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/page_main_text.zpt	Thu Jun 17 19:35:24 2010 +0200
@@ -0,0 +1,16 @@
+<!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" 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',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
+  </metal:block>
+</body>
+</html>