Annotation of OSAS/OSA_system/zpt/searchResult.zpt, revision 1.2
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.2 ! casties 8: <h2 tal:content="python:'Search Results for (%s) \'%s\''%(here.REQUEST.SESSION['searchtype'],here.REQUEST.SESSION['searchstring'])"/>
1.1 casties 9:
1.2 ! casties 10: <p><a tal:condition="here/hasPrevResults" href="prevResults"><</a>
! 11: <span tal:replace="python:'%i to %i of %i Results'%(here.REQUEST.SESSION['res_indexes'][0:3])"/>
! 12: <a tal:condition="here/hasNextResults" href="nextResults">></a>
! 13: | <a href="index_html">New search</a>
! 14: </p>
1.1 casties 15: <!-- result block -->
1.2 ! casties 16: <tal:block tal:repeat="res python:here.REQUEST.SESSION['resultgroup']">
1.1 casties 17: <!-- <span tal:content="python:res.rank"/> -->
1.2 ! casties 18: <p align="right">Result <span tal:replace="python:repeat['res'].number()+here.REQUEST.SESSION['res_indexes'][0]-1" omit-tag=""/></p>
1.1 casties 19: <p tal:replace="structure python:here.renderResult(res)"/>
20: <hr/>
21: </tal:block>
22: <!-- end of result block -->
23:
24: </body>
25: </html>
26:
27:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>