source: documentViewer/zpt/changeDocumentViewer.zpt @ 38:025d3b6cba51

Last change on this file since 38:025d3b6cba51 was 33:b3fe3a50f605, checked in by casties, 18 years ago

version 0.2.3 - first version with access control!

  • defaults to open when no access info
  • uses any logged in user for local access
File size: 1.8 KB
Line 
1<div tal:replace="structure here/manage_page_header">Header</div>
2        <h2>Add a Document Viewer</h2>
3                <form action="changeDocumentViewer">
4               
5                <p class="form-optional">Title</p>
6        <p class="form-element"><input size="80" tal:attributes="value here/title" name="title"></p>
7                <p class="form-label">Image viewer URL</p>
8        <p class="form-element"><input size="80" tal:attributes="value here/imageViewerUrl" name="imageViewerUrl"></p>
9        <p class="form-text">Full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/zogilib?')</p>
10        <p class="form-optional">digilib base URL</p>
11        <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl" name="digilibBaseUrl"></p>
12        <p class="form-text">This information can be automatically detected if the image viewer above is a Zogilib instance.<br/>
13        You must clear this field when you change the image viewer URL above.</p>
14        <p class="form-optional">Thumbnail rows</p>
15        <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p>
16        <p class="form-optional">Thumbnail columns</p>
17        <p class="form-element"><input size="3" tal:attributes="value here/thumbcols | default" name="thumbcols"></p>
18        <p class="form-optional">Authorized groups</p>
19        <p class="form-element"><input size="80" tal:attributes="value python:','.join(getattr(here,'authgroups', []))" name="authgroups"></p>
20        <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access
21        to one of these groups, local access to the ressource is granted.</p>
22               
23                <p><input type="submit" value="change"></p>
24                </form>
25                       
26<div tal:replace="structure here/manage_page_footer">Footer</div>
Note: See TracBrowser for help on using the repository browser.