version 1.2, 2005/03/10 15:48:00
|
version 1.3, 2005/12/05 14:17:59
|
Line 14
|
Line 14
|
<body> |
<body> |
|
|
<tal:block metal:fill-slot="body"> |
<tal:block metal:fill-slot="body"> |
|
|
<table |
<table |
tal:repeat="header python:here.ZSQLSimpleSearch(' |
tal:repeat="header python:here.ZSQLSimpleSearch(' |
SELECT * FROM vl_literature |
SELECT * FROM vl_literature |
WHERE reference = \'' + here.getId() + '\'')"> |
WHERE reference = \'' + here.getId() + '\'')"> |
|
|
<tr |
<tr tal:define="global type python:header.referencetype"> |
tal:define="global sort python:here.collectionSort(header.referencetype)"> |
|
<th class="thead"> |
<th class="thead"> |
<span tal:replace="python:header.shortreference.decode('latin-1')"/> |
<span tal:replace="python:header.shortreference.decode('latin-1')"/> |
</th> |
</th> |
</tr> |
</tr> |
</table> |
</table> |
|
|
<p class="TOClist" |
<p class="TOClist" |
tal:repeat="item python:here.ZSQLSimpleSearch(' |
tal:repeat="item python:here.getVLPSubcollectionToc(type)"> |
SELECT * FROM vl_literature |
|
WHERE volumeid = \'' + here.getId() + '\' |
|
AND online = 1 |
|
ORDER BY ' + sort)"> |
|
<a |
<a |
tal:condition="python:here.checkForFrontMatter(item.reference)" |
tal:condition="python:here.checkForFrontMatter(item.reference)" |
tal:attributes="href python:here.vlp_root() + '/library/data/'+item.reference+'/'+item.reference">Table of Contents, Tables, ...</a |
tal:attributes="href python:here.vlp_root() + '/library/data/'+item.reference+'/'+item.reference">Table of Contents, Tables, ...</a |
><a |
> |
tal:condition="not:python:item.reference==here.getId()" |
<tal:x condition="not:python:(item.reference==here.getId())"> |
|
<a |
|
tal:condition="python:item.online==1" |
tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span |
tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span |
tal:replace="python:item.fullreference.decode('latin-1')"/></a></p> |
tal:replace="python:item.fullreference.decode('latin-1')"/></a> |
|
<a |
|
tal:condition="not:python:item.online==1" |
|
><span |
|
tal:replace="python:item.fullreference.decode('latin-1')"/></a> |
|
|
|
</tal:x> |
|
</p> |
</tal:block> |
</tal:block> |
|
|
</body> |
</body> |