Annotation of basket/zpt/BasketXRef_per_template_standard.zpt, revision 1.1

1.1     ! dwinter     1: <tal:x 
        !             2:    tal:define="
        !             3:        basis python:here.vlp.vlp_coll.technology;
        !             4:        result python:basis.ZSQLSimpleSearch('
        !             5:            SELECT 
        !             6:                vl_people.* ,
        !             7:                TO_CHAR(born, \'DD.MM.YYYY\') AS fBorn, 
        !             8:                TO_CHAR(died, \'DD.MM.YYYY\') AS fDied
        !             9:            FROM vl_people
        !            10:            WHERE reference=\''+ here.xref +'\'')[0];"
        !            11: >
        !            12: 
        !            13:    <tal:block tal:condition="result/image"
        !            14:            ><span tal:define="image python:basis.ZSQLSimpleSearch('
        !            15:                SELECT exportheight, exportwidth
        !            16:                FROM vl_images 
        !            17:                WHERE reference = \'' + str(result.image) + '\'')"
        !            18:                tal:omit-tag="">
        !            19:                <img name='thumbnail1' src="IMG.png" border=0
        !            20:                tal:attributes="src python:basis.vlp.imgbase + 'thumbs/' + 
        !            21:                    result.image + '.jpg'" width="80">
        !            22:              </span>
        !            23:    </tal:block>
        !            24:        
        !            25:            <span tal:content="result/fullname">Full Name</span> 
        !            26:            (<span tal:replace="result/born_place" tal:omit-tag="">Place of Birth</span>
        !            27:            <span 
        !            28:                tal:condition="result/born" 
        !            29:                tal:content="result/fborn">Date of Birth</span
        !            30:            ><span
        !            31:                tal:condition="not:result/born" 
        !            32:                tal:content="result/born_year">Year of Birth</span>
        !            33:            
        !            34:            -   
        !            35:            <span tal:replace="result/died_place" tal:omit-tag="">Place of Death</span>
        !            36:            <span
        !            37:                tal:condition="result/died" 
        !            38:                tal:content="result/fdied">Date of Death</span
        !            39:            ><span
        !            40:                tal:condition="not:result/died" 
        !            41:                tal:content="result/died_year">Year of Death</span>)
        !            42: </tal:x>

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