version 1.1, 2006/01/19 16:25:49
|
version 1.2, 2006/04/07 17:44:40
|
Line 9
|
Line 9
|
FROM vl_people |
FROM vl_people |
WHERE reference=\''+ here.xref +'\'')[0];" |
WHERE reference=\''+ here.xref +'\'')[0];" |
> |
> |
|
|
<tal:block tal:condition="result/image" |
<tal:block tal:condition="result/image" |
><span tal:define="image python:basis.ZSQLSimpleSearch(' |
><span tal:define="image python:basis.ZSQLSimpleSearch(' |
SELECT exportheight, exportwidth |
SELECT exportheight, exportwidth |
Line 18
|
Line 17
|
tal:omit-tag=""> |
tal:omit-tag=""> |
<img name='thumbnail1' src="IMG.png" border=0 |
<img name='thumbnail1' src="IMG.png" border=0 |
tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + |
tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + |
result.image + '.jpg'" width="80"> |
result.image + '.jpg'" width="80" align="left"> |
</span> |
</span> |
</tal:block> |
</tal:block> |
|
<i class="small" style="float:right" tal:content="result/reference" /> |
|
|
<span tal:content="result/fullname">Full Name</span> |
<a tal:content="result/fullname" |
(<span tal:replace="result/born_place" tal:omit-tag="">Place of Birth</span> |
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 |
<span |
tal:condition="result/born" |
tal:condition="result/born" |
tal:content="result/fborn">Date of Birth</span |
tal:content="result/fborn">Date of Birth</span |
><span |
><span |
tal:condition="not:result/born" |
tal:condition="not:result/born" |
tal:content="result/born_year">Year of Birth</span> |
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:replace="result/died_place" tal:omit-tag="">Place of Death</span> |
<span |
<span |
tal:condition="result/died" |
tal:condition="result/died" |
tal:content="result/fdied">Date of Death</span |
tal:content="result/fdied">Date of Death</span |
><span |
><span |
tal:condition="not:result/died" |
tal:condition="not:result/died" |
tal:content="result/died_year">Year of Death</span>) |
tal:content="result/died_year">Year of Death</span> |
|
<br clear="all"> |
</tal:x> |
</tal:x> |
|
|