source: documentViewer/zpt/viewer_main.zpt @ 80:8ec7b049a49c

Last change on this file since 80:8ec7b049a49c was 76:47d76f050883, checked in by dwinter, 16 years ago

minorCVS: ----------------------------------------------------------------------

File size: 1.1 KB
Line 
1<html tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode">
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,viewMode=viewMode,pageinfo=pageinfo)"/>
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,viewMode=viewMode,mk=options['mk'])" />
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.