Changeset 36:0bf5aac0ff41 in documentViewer for zpt/viewer_main.zpt


Ignore:
Timestamp:
Apr 12, 2006, 5:47:53 PM (18 years ago)
Author:
casties
Branch:
default
Message:

version 0.2.4

  • minor improvements
  • tries more than one time to read info from digilib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_main.zpt

    r34 r36  
    55<body tal:condition="docinfo/numPages">
    66<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)">
    88<table border="0" width="100%" height="100%">
    99  <tr>
     
    1717</table>
    1818</tal:block>
    19 <tal:block tal:condition="not:python:here.accessOK(docinfo)">
     19<tal:block tal:condition="not:python:here.isAccessible(docinfo)">
    2020<div class="errortext">Sorry, access to this document is restricted.</div>
    2121</tal:block>
Note: See TracChangeset for help on using the changeset viewer.