Annotation of OSAS/OSA_system/zpt/searchResult.zpt, revision 1.4
1.1 casties 1: <html>
2: <head>
1.2 casties 3: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
1.1 casties 4: <title tal:content="here/title">The title</title>
5: </head>
6: <body>
7:
1.3 casties 8: <h2>Search Results</h2>
9: <!-- search query -->
10: <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>
11: | <a href="index_html">New search</a></p>
12: <!-- result type -->
1.4 ! casties 13: <p>Result types:
1.3 casties 14: <tal:block tal:repeat="restype python:here.REQUEST.SESSION['resulttypes']">
15: <a tal:attributes="href python:'search?restypefilter='+restype" tal:content="restype"/>
16: </tal:block>
17: <a href="search?restypefilter=">all</a>
1.2 casties 18: </p>
1.3 casties 19: <!-- result navigation -->
20: <p align="center"><a tal:condition="here/hasPrevResults" href="prevResults"><</a>
21: <span tal:replace="python:'%i to %i of %i results'%(here.REQUEST.SESSION['res_indexes'][0:3])"/>
22: <a tal:condition="here/hasNextResults" href="nextResults">></a></p>
23: <hr/>
1.1 casties 24: <!-- result block -->
1.2 casties 25: <tal:block tal:repeat="res python:here.REQUEST.SESSION['resultgroup']">
1.1 casties 26: <!-- <span tal:content="python:res.rank"/> -->
1.2 casties 27: <p align="right">Result <span tal:replace="python:repeat['res'].number()+here.REQUEST.SESSION['res_indexes'][0]-1" omit-tag=""/></p>
1.1 casties 28: <p tal:replace="structure python:here.renderResult(res)"/>
29: <hr/>
30: </tal:block>
31: <!-- end of result block -->
1.3 casties 32: <!-- result navigation -->
33: <p align="center"><a tal:condition="here/hasPrevResults" href="prevResults"><</a>
34: <span tal:replace="python:'%i to %i of %i results'%(here.REQUEST.SESSION['res_indexes'][0:3])"/>
35: <a tal:condition="here/hasNextResults" href="nextResults">></a>
36: </p>
1.1 casties 37: </body>
38: </html>
39:
40:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>