version 1.1, 2007/03/23 17:24:17
|
version 1.2, 2007/04/23 13:07:10
|
Line 2
|
Line 2
|
<tal:block metal:fill-slot="body" |
<tal:block metal:fill-slot="body" |
tal:define="results options/result; |
tal:define="results options/result; |
indexName options/indexName; |
indexName options/indexName; |
regExp options/regExp; |
regExp python:options['regExp']=='yes'; |
word options/word"> |
word options/word"> |
|
|
|
|
Line 16
|
Line 16
|
<p tal:condition="not:regExp">Found <span tal:content="word"/></p> |
<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> |
<p tal:condition="regExp">Found <tal:x tal:content="python:','.join(here.findWordRegExp(indexName,word))"></tal:x>.</p> |
<div> |
<div> |
|
|
<table border="1"> |
<table border="1"> |
<tr tal:repeat="result python:results.keys()"> |
<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 valign="top"><a tal:attributes="href python:'showFile?fileId=%s'%result" target="_blank" tal:content="result"/> |