Changeset 36:0bf5aac0ff41 in documentViewer for zpt/viewer_main.zpt
- Timestamp:
- Apr 12, 2006, 5:47:53 PM (18 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer_main.zpt
r34 r36 5 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 <tal:block tal:condition="python:here.isAccessible(docinfo)"> 8 8 <table border="0" width="100%" height="100%"> 9 9 <tr> … … 17 17 </table> 18 18 </tal:block> 19 <tal:block tal:condition="not:python:here. accessOK(docinfo)">19 <tal:block tal:condition="not:python:here.isAccessible(docinfo)"> 20 20 <div class="errortext">Sorry, access to this document is restricted.</div> 21 21 </tal:block>
Note: See TracChangeset
for help on using the changeset viewer.