view zpt/image_main.zpt @ 58:cc1d3d22ca72

added getInfo_xml method
author casties
date Fri, 04 May 2007 15:17:02 +0200
parents 92047eaa6272
children 5c9837484085
line wrap: on
line source

<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')">
 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/>
 <iframe tal:condition="python:mode=='text'" height="100%" width="100%" tal:attributes="src string:${here/textViewerUrl}fn=${docinfo/textURL}&pn=${pageinfo/current}&lang=${docinfo/lang}"/>
</tal:block>