<html metal:use-macro="here/main_template/macros/page">
<tal:block metal:fill-slot="body"
tal:define="results options/result;
indexName options/indexName;
regExp options/regExp;
word options/word">
<table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr>
<td>
<h2>Basket: <span tal:replace="python:here.title"/></h2>
</td>
</tr>
</table>
<p tal:condition="not:regExp">Found <span tal:content="word"/></p>
<p tal:condition="regExp">Found <tal:x tal:content="python:','.join(here.findWordRegExp(indexName,word))"></tal:x>.</p>
<div>
<table border="1">
<tr tal:repeat="result python:results.keys()">
<td valign="top"><a tal:attributes="href python:'showFile?fileId=%s'%result" target="_blank" tal:content="result"/>
<td>
<ul>
<li tal:repeat="line python:results[result]">
<span tal:content="line"/>
</li>
</ul>
</td>
</tr>
</table>
</div>
</tal:block>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>