File:  [Repository] / cdli / zpt / searchResultsInBasket.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Apr 23 13:07:10 2007 UTC (17 years ago) by dwinter
Branches: MAIN
CVS tags: zcat_only_1, Root_zcat_only_1, HEAD
minorCVS: ----------------------------------------------------------------------

<html metal:use-macro="here/main_template/macros/page">	
 <tal:block metal:fill-slot="body" 
 tal:define="results options/result;
			indexName options/indexName;
			regExp python:options['regExp']=='yes';
			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>