<tal:x
tal:define="
basis python:here.vlp.vlp_coll.technology;
result python:basis.ZSQLSimpleSearch('
SELECT
vl_people.* ,
TO_CHAR(born, \'DD.MM.YYYY\') AS fBorn,
TO_CHAR(died, \'DD.MM.YYYY\') AS fDied
FROM vl_people
WHERE reference=\''+ here.xref +'\'')[0];"
>
<tal:block tal:condition="result/image"
><span tal:define="image python:basis.ZSQLSimpleSearch('
SELECT exportheight, exportwidth
FROM vl_images
WHERE reference = \'' + str(result.image) + '\'')"
tal:omit-tag="">
<img name='thumbnail1' src="IMG.png" border=0
tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' +
result.image + '.jpg'" width="80" align="left">
</span>
</tal:block>
<i class="small" style="float:right" tal:content="result/reference" />
<a tal:content="result/fullname"
tal:attributes="href python: '/references?id=' + here.xref">Full Name</a> <br>
<br>
<span tal:replace="result/born_place" tal:omit-tag="">Place of Birth</span>
<span
tal:condition="result/born"
tal:content="result/fborn">Date of Birth</span
><span
tal:condition="not:result/born"
tal:content="result/born_year">Year of Birth</span>
<br>
<span tal:replace="result/died_place" tal:omit-tag="">Place of Death</span>
<span
tal:condition="result/died"
tal:content="result/fdied">Date of Death</span
><span
tal:condition="not:result/died"
tal:content="result/died_year">Year of Death</span>
<br clear="all">
</tal:x>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>