Mercurial > hg > documentViewer
annotate zpt/viewer_main.zpt @ 75:9673218e155b
minorCVS: ----------------------------------------------------------------------
author | dwinter |
---|---|
date | Tue, 04 Nov 2008 23:03:56 +0100 |
parents | 5c9837484085 |
children | 47d76f050883 |
rev | line source |
---|---|
48 | 1 <html tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode"> |
24 | 2 <head> |
3 <link rel="stylesheet" href="template/docuviewer_css" type="text/css"> | |
38 | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
24 | 5 </head> |
34 | 6 <body tal:condition="docinfo/numPages"> |
49
a10fff6199b0
verbesserung f?r text unterst?tzung, text kann jetzt aus url kommen, sprache bisher nur deutsch
dwinter
parents:
48
diff
changeset
|
7 <div tal:replace="structure python:here.template.head_main(docinfo=docinfo,viewMode=viewMode,pageinfo=pageinfo)"/> |
36 | 8 <tal:block tal:condition="python:here.isAccessible(docinfo)"> |
24 | 9 <table border="0" width="100%" height="100%"> |
10 <tr> | |
11 <td width="300px" valign="top"> | |
12 <tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> | |
13 </td> | |
27 | 14 <td width="100%" valign="top"> |
74 | 15 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode,mk=mk)" /> |
24 | 16 </td> |
17 </tr> | |
18 </table> | |
34 | 19 </tal:block> |
36 | 20 <tal:block tal:condition="not:python:here.isAccessible(docinfo)"> |
34 | 21 <div class="errortext">Sorry, access to this document is restricted.</div> |
22 </tal:block> | |
24 | 23 </body> |
34 | 24 <body tal:condition="not:docinfo/numPages"> |
31 | 25 <div class="errortext">Sorry, document doesn't exist.</div> |
26 </body> | |
24 | 27 </html> |