File:  [Repository] / basket / zpt / BasketXRef_exp_template_standard.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Apr 6 07:50:28 2006 UTC (18 years, 1 month ago) by dwinter
Branches: MAIN
CVS tags: HEAD
behr 5 april templates

<tal:block tal:define="
			vl_experiments python: '
			(vl_experiments AS exp 
				JOIN  vl_literature AS lit
				ON exp.source = lit.id)';
			basis python:here.vlp.vlp_coll.technology;
			exp python: basis.ZSQLSimpleSearch('
				SELECT 
					exp.*, 
					lit.fullreference AS fullreference, sql_year, year,
					lit.authorrefdisplay as author
				FROM ' + vl_experiments + '
				WHERE exp.reference = \'' + here.xref + '\'')[0]">
				
	     
<img name='thumbnail1' src="IMG.png"  border=0
	tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + 
		exp.img1 + '.jpg'" width="80" align="left">

<i class="small" style="float:right" tal:content="exp/reference" />
<a 
	tal:content="structure exp/name" 
	tal:attributes="
	href python: '/references?id=' + exp.reference">title</a><br><br>
Source: <span tal:replace="python: exp.fullreference"/>
<br clear="all">
	
</tal:block>

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