File:  [Repository] / basket / zpt / BasketXRef_sit_template_standard.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Apr 7 17:44:40 2006 UTC (18 years, 1 month ago) by dwinter
Branches: MAIN
CVS tags: HEAD
michael

<tal:block	
	tal:define="
		basis python:here.vlp.vlp_coll.technology;
		vl_sites python:' 
			vl_sites AS sit 
			INNER JOIN vl_literature AS lit 
			ON (sit.source = lit.id) '; 
		    result python:basis.ZSQLSimpleSearch('
			SELECT sit.*, year, fullreference 
			FROM ' + vl_sites + '
			WHERE sit.reference=\'' + here.xref + '\'')[0]">
	        
	<img name='thumbnail1' src="IMG.png" border=0
		tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + 
			result.img1id + '.jpg'" width="80" align="left">
	
	<i class="small" style="float:right" tal:content="here/xref" /> 
	<a 
		tal:attributes="href python: '/references?id=' + here.xref" 	
		tal:content="python:str(result.labname) + ',' + str(result.year)" />
	<br><br>
	<span tal:replace="python: 'Source: ' + result.fullreference" />
	<br clear="all">
</tal:block>
	

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