view zpt/image_main.zpt @ 79:df6952ac93e9 Root_integrate_imageArchive

bug in getDocInforFromImagePath, relative lage der index.meta zu path war falsch.
author dwinter
date Mon, 09 Mar 2009 09:37:19 +0100
parents 47d76f050883
children 8ec7b049a49c
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}&${options/mk}"/>
 <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>