source: documentViewer/zpt/changeDocumentViewer.zpt @ 45:0391fe75aef3

Last change on this file since 45:0391fe75aef3 was 45:0391fe75aef3, checked in by casties, 18 years ago

fixed handling of documents with missing access tag

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