Mercurial > hg > documentViewer
view zpt/image_main.zpt @ 76:47d76f050883
minorCVS: ----------------------------------------------------------------------
author | dwinter |
---|---|
date | Tue, 04 Nov 2008 23:03:56 +0100 |
parents | 5c9837484085 |
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>