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 |
rev |
line source |
46
|
1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')">
|
|
2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/>
|
52
|
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
|
4 </tal:block>
|