Mercurial > hg > documentViewer
changeset 86:395d190940a4
first version with new full-text infrastructure and slightly changed templates
author | casties |
---|---|
date | Fri, 19 Mar 2010 12:42:40 +0100 |
parents | d3d7d05dfc54 |
children | a0fbc9a42be8 |
files | zpt/image_main.zpt |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/image_main.zpt Fri Mar 19 12:42:40 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -<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>