Annotation of basket/zpt/BasketXRef_sit_template_standard.zpt, revision 1.2

1.1       dwinter     1: <tal:block 
                      2:    tal:define="
                      3:        basis python:here.vlp.vlp_coll.technology;
                      4:        vl_sites python:' 
                      5:            vl_sites AS sit 
                      6:            INNER JOIN vl_literature AS lit 
                      7:            ON (sit.source = lit.id) '; 
                      8:            result python:basis.ZSQLSimpleSearch('
                      9:            SELECT sit.*, year, fullreference 
                     10:            FROM ' + vl_sites + '
                     11:            WHERE sit.reference=\'' + here.xref + '\'')[0]">
                     12:            
1.2     ! dwinter    13:    <img name='thumbnail1' src="IMG.png" border=0
        !            14:        tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + 
        !            15:            result.img1id + '.jpg'" width="80" align="left">
        !            16:    
        !            17:    <i class="small" style="float:right" tal:content="here/xref" /> 
        !            18:    <a 
        !            19:        tal:attributes="href python: '/references?id=' + here.xref"     
        !            20:        tal:content="python:str(result.labname) + ',' + str(result.year)" />
        !            21:    <br><br>
        !            22:    <span tal:replace="python: 'Source: ' + result.fullreference" />
        !            23:    <br clear="all">
1.1       dwinter    24: </tal:block>
                     25:    

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