Annotation of documentViewer/zpt/image_main.zpt, revision 1.3
1.3 ! dwinter 1: <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')">
! 2: <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/>
! 3: <iframe tal:condition="python:mode=='text'" height="100%" width="100%" tal:attributes="src string:${here/textViewerUrl}fn=${docinfo/textURL}&_pn=${pageinfo/current}"/>
1.1 casties 4: </tal:block>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>