Mercurial > hg > documentViewer
view zpt/image_main.zpt @ 50:6c0f20cecc60
added evaluation of the presentation/info.xml in texttools
author | dwinter |
---|---|
date | Thu, 11 Jan 2007 13:03:17 +0100 |
parents | 31059e3d9338 |
children | 92047eaa6272 |
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}"/> </tal:block>