version 1.1, 2006/04/06 17:13:43
|
version 1.7, 2008/11/04 22:03:56
|
Line 1
|
Line 1
|
<tal:block tal:define="docinfo python: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 python:here.imageViewerUrl+'fn=%s&pn=%s'%(docinfo['imagePath'],pageinfo['current'])"/> |
<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> |
</tal:block> |