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 (20 years ago) by casties
Branches: MAIN
CVS tags: HEAD
present database urls as links

    1: <html>
    2: <head>
    3:    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    4:    <title tal:content="here/title">The title</title>
    5: </head>
    6: <body>
    7: 
    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 -->
   13: <p>Result types:
   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>
   18: </p>
   19: <!-- result navigation -->
   20: <p align="center"><a tal:condition="here/hasPrevResults" href="prevResults">&lt;</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">&gt;</a></p>
   23: <hr/>
   24: <!-- result block -->
   25: <tal:block tal:repeat="res python:here.REQUEST.SESSION['resultgroup']">
   26: <!-- <span tal:content="python:res.rank"/> -->
   27: <p align="right">Result <span tal:replace="python:repeat['res'].number()+here.REQUEST.SESSION['res_indexes'][0]-1" omit-tag=""/></p>
   28: <p tal:replace="structure python:here.renderResult(res)"/>
   29: <hr/>
   30: </tal:block>
   31: <!-- end of result block -->
   32: <!-- result navigation -->
   33: <p align="center"><a tal:condition="here/hasPrevResults" href="prevResults">&lt;</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">&gt;</a>
   36: </p>
   37: </body>
   38: </html>
   39: 
   40: 

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