version 1.2, 2006/04/10 11:23:18
|
version 1.3, 2006/09/09 10:52:59
|
Line 1
|
Line 1
|
<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo"> |
<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')"> |
<iframe height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/> |
<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> |
</tal:block> |