source: documentViewer/zpt/image_main.zpt @ 80:8ec7b049a49c

Last change on this file since 80:8ec7b049a49c was 80:8ec7b049a49c, checked in by casties, 15 years ago

fixed a problem with image_main when options/mk is not present

File size: 533 bytes
Line 
1<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images'); mk python:options.get('mk','')">
2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}&$mk"/>
3 <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}"/>
4</tal:block>
Note: See TracBrowser for help on using the repository browser.