version 1.1, 2006/04/06 17:13:43
|
version 1.4, 2007/01/11 12:03:17
|
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}"/> |
|
<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> |