annotate zpt/image_main.zpt @ 64:d928e4820b93

added more try/excepts to bib-meta reading code
author casties
date Fri, 22 Jun 2007 18:04:24 +0200
parents 92047eaa6272
children 5c9837484085
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
31059e3d9338 has now also a text mode viewMode=text
dwinter
parents: 30
diff changeset
1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')">
31059e3d9338 has now also a text mode viewMode=text
dwinter
parents: 30
diff changeset
2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/>
52
92047eaa6272 zLOG exchanged by logging
dwinter
parents: 50
diff changeset
3 <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}"/>
22
b139f9937e97 preliminary version 0.2
casties
parents:
diff changeset
4 </tal:block>