source: documentViewer/zpt/viewer_main.zpt @ 46:31059e3d9338

Last change on this file since 46:31059e3d9338 was 38:025d3b6cba51, checked in by casties, 18 years ago

fixes by dirk

File size: 1.1 KB
Line 
1<html tal:define="docinfo options/docinfo; pageinfo options/pageinfo">
2<head>
3<link rel="stylesheet" href="template/docuviewer_css" type="text/css">
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5</head>
6<body tal:condition="docinfo/numPages">
7<div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/>
8<tal:block tal:condition="python:here.isAccessible(docinfo)">
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>
14    <td width="100%" valign="top">
15      <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" />
16    </td>
17  </tr>
18</table>
19</tal:block>
20<tal:block tal:condition="not:python:here.isAccessible(docinfo)">
21<div class="errortext">Sorry, access to this document is restricted.</div>
22</tal:block>
23</body>
24<body tal:condition="not:docinfo/numPages">
25<div class="errortext">Sorry, document doesn't exist.</div>
26</body>
27</html>
Note: See TracBrowser for help on using the repository browser.