Changeset 34:0ca99253b4ce in documentViewer
- Timestamp:
- Apr 11, 2006, 5:27:57 PM (19 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer_main.zpt
r31 r34 1 <html >1 <html tal:define="docinfo options/docinfo; pageinfo options/pageinfo"> 2 2 <head> 3 3 <link rel="stylesheet" href="template/docuviewer_css" type="text/css"> 4 4 </head> 5 <body tal: define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="docinfo/numPages">5 <body tal:condition="docinfo/numPages"> 6 6 <div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/> 7 <tal:block tal:condition="python:here.accessOK(docinfo)"> 7 8 <table border="0" width="100%" height="100%"> 8 9 <tr> … … 15 16 </tr> 16 17 </table> 18 </tal:block> 19 <tal:block tal:condition="not:python:here.accessOK(docinfo)"> 20 <div class="errortext">Sorry, access to this document is restricted.</div> 21 </tal:block> 17 22 </body> 18 <body tal: define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="not:docinfo/numPages">23 <body tal:condition="not:docinfo/numPages"> 19 24 <div class="errortext">Sorry, document doesn't exist.</div> 20 25 </body>
Note: See TracChangeset
for help on using the changeset viewer.