Mercurial > hg > documentViewer
diff zpt/image_main.zpt @ 22:b139f9937e97
preliminary version 0.2
- lots of stuff rewritten
- new template system
- still no access control
author | casties |
---|---|
date | Thu, 06 Apr 2006 19:13:43 +0200 |
parents | |
children | c43d3cd16238 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/image_main.zpt Thu Apr 06 19:13:43 2006 +0200 @@ -0,0 +1,3 @@ +<tal:block tal:define="docinfo python:options['docinfo']; pageinfo options/pageinfo"> + <iframe height="100%" width="100%" tal:attributes="src python:here.imageViewerUrl+'fn=%s&pn=%s'%(docinfo['imagePath'],pageinfo['current'])"/> +</tal:block>