File:  [Repository] / OSAS / OSA_system / zpt / searchResult.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Fri Jul 9 17:32:32 2004 UTC (19 years, 11 months ago) by casties
Branches: MAIN
CVS tags: HEAD
present database urls as links

<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <title tal:content="here/title">The title</title>
</head>
<body>

<h2>Search Results</h2>
<!-- search query -->
<p><b><span tal:replace="python:'Query: (%s) \'%s\''%(here.REQUEST.SESSION['searchtype'],here.REQUEST.SESSION['searchstring'])"/><span tal:condition="python:here.REQUEST.SESSION['res_type_filter']" tal:replace="python:' (of type %s)'%here.REQUEST.SESSION['res_type_filter']"/></b>
| <a href="index_html">New search</a></p>
<!-- result type -->
<p>Result types:
<tal:block tal:repeat="restype python:here.REQUEST.SESSION['resulttypes']">
<a tal:attributes="href python:'search?restypefilter='+restype" tal:content="restype"/>
</tal:block>
<a href="search?restypefilter=">all</a>
</p>
<!-- result navigation -->
<p align="center"><a tal:condition="here/hasPrevResults" href="prevResults">&lt;</a>
<span tal:replace="python:'%i to %i of %i results'%(here.REQUEST.SESSION['res_indexes'][0:3])"/>
<a tal:condition="here/hasNextResults" href="nextResults">&gt;</a></p>
<hr/>
<!-- result block -->
<tal:block tal:repeat="res python:here.REQUEST.SESSION['resultgroup']">
<!-- <span tal:content="python:res.rank"/> -->
<p align="right">Result <span tal:replace="python:repeat['res'].number()+here.REQUEST.SESSION['res_indexes'][0]-1" omit-tag=""/></p>
<p tal:replace="structure python:here.renderResult(res)"/>
<hr/>
</tal:block>
<!-- end of result block -->
<!-- result navigation -->
<p align="center"><a tal:condition="here/hasPrevResults" href="prevResults">&lt;</a>
<span tal:replace="python:'%i to %i of %i results'%(here.REQUEST.SESSION['res_indexes'][0:3])"/>
<a tal:condition="here/hasNextResults" href="nextResults">&gt;</a>
</p>
</body>
</html>



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>