File:  [Repository] / documentViewer / zpt / Attic / image_main.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Sat Sep 9 10:52:59 2006 UTC (17 years, 9 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
has now also a text mode viewMode=text

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