File:  [Repository] / basket / zpt / BasketXRef_sit_template_standard.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Jan 19 16:25:49 2006 UTC (18 years, 5 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

    1: <tal:block	
    2: 	tal:define="
    3: 		basis python:here.vlp.vlp_coll.technology;
    4: 		vl_sites python:' 
    5: 			vl_sites AS sit 
    6: 			INNER JOIN vl_literature AS lit 
    7: 			ON (sit.source = lit.id) '; 
    8: 		    result python:basis.ZSQLSimpleSearch('
    9: 			SELECT sit.*, year, fullreference 
   10: 			FROM ' + vl_sites + '
   11: 			WHERE sit.reference=\'' + here.xref + '\'')[0]">
   12: 	        
   13: 	        <img name='thumbnail1' src="IMG.png" border=0
   14: 				tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + 
   15: 					result.img1id + '.jpg'" width="80">
   16: 
   17: 		   <img src="images/space.gif" height="8" 
   18: 				width="1" alt="spacer" border="0">
   19: 		
   20: 
   21: 		<span tal:content="python:str(result.labname) + ',' + 
   22: 			str(result.year)">
   23: 			laboratory name
   24: 		</span>
   25: </tal:block>
   26: 	

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