File:  [Repository] / documentViewer / zpt / Attic / image_main.zpt
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Tue Nov 4 22:03:56 2008 UTC (15 years, 7 months ago) by dwinter
Branches: MAIN
CVS tags: integrate_imageArchive, Root_integrate_imageArchive, HEAD
minorCVS: ----------------------------------------------------------------------

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

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