<tal:block
tal:define="
vl_technology python: '
(vl_technology AS tec
JOIN vl_images AS img
ON tec.source = img.reference)
JOIN vl_literature AS lit
ON img.source = lit.id';
basis python: here.vlp.vlp_coll.technology;
tec python: basis.ZSQLSimpleSearch('
SELECT
tec.*,
img.caption, img.webcapion, img.exportHeight, img.exportWidth,
img.source AS img_source, img.webpage, figureno,
img.reference AS img_reference,
lit.fullreference AS fullreference, sql_year
FROM ' + vl_technology + '
WHERE tec.reference = \'' + here.xref+ '\'')[0]">
<img name='thumbnail1' src="IMG.png" border=0
tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' +
tec.img_reference + '.jpg'" width="80" height="80" align="left">
<i class="small" style="float:right" tal:content="tec/reference" />
<a
tal:content="structure tec/webcapion"
tal:attributes="
href python: '/references?id=' + tec.reference">webcaption</a><br><br>
Source: <span tal:replace="python: tec.fullreference"/>
<span tal:replace="structure python:
'(p. ' + tec.webpage[1:5] +
', fig. ' + tec.figureno + ')'"/>
<br clear="all">
</tal:block>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>