File:  [Repository] / documentViewer / zpt / Attic / image_main.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Thu Jan 11 12:03:17 2007 UTC (17 years, 5 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
added evaluation of the presentation/info.xml in texttools

<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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>