Changeset 46:31059e3d9338 in documentViewer for zpt
- Timestamp:
- Sep 9, 2006, 10:52:59 AM (18 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/image_main.zpt
r30 r46 1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo"> 2 <iframe height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/> 1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')"> 2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/> 3 <iframe tal:condition="python:mode=='text'" height="100%" width="100%" tal:attributes="src string:${here/textViewerUrl}fn=${docinfo/textURL}&_pn=${pageinfo/current}"/> 3 4 </tal:block>
Note: See TracChangeset
for help on using the changeset viewer.