view zpt/search_template.zpt @ 511:551ca1641a5e elementtree

more cleanup. search really works now.
author casties
date Tue, 28 Feb 2012 18:21:59 +0100
parents
children
line wrap: on
line source

<!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" />
</head>
<body>
  <!-- block used for main content area -->
  <div metal:define-macro="results_div"
    tal:define="start pageinfo/resultStart; resultsize python:docinfo.get('resultSize',0); grpsize pageinfo/resultPageSize;
                batch python:here.getBatch(start=start,size=grpsize,end=resultsize);">
    <div class="ruler" tal:define="startParam string:resultStart">
        <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler"/>
    </div>
    <div class="content"
      tal:content="structure python:here.getResultsPage(mode=queryType,query=query,start=start,size=grpsize,pageinfo=pageinfo,docinfo=docinfo)" />
  </div>
<!--  tal:content="structure python:here.getResultsPage(mode=queryType,query=query,pn=1,pageinfo=pageinfo,docinfo=docinfo)" -->
<!--  structure python:here.getTocPage(mode='text',start=start,pageinfo=pageinfo,docinfo=docinfo) -->
</body>
</html>