Mercurial > hg > documentViewer
view zpt/image_main.zpt @ 85:d3d7d05dfc54
first version with new full-text infrastructure and slightly changed templates
author | casties |
---|---|
date | Fri, 19 Mar 2010 12:42:40 +0100 |
parents | 8ec7b049a49c |
children |
line wrap: on
line source
<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images'); mk python:options.get('mk','')"> <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}&$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>