annotate zpt/changeDocumentViewer.zpt @ 37:ead830ce45d6 Root_roc_1

better error messages
author casties
date Wed, 12 Apr 2006 20:53:00 +0200
parents b3fe3a50f605
children 0391fe75aef3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
1 <div tal:replace="structure here/manage_page_header">Header</div>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
2 <h2>Add a Document Viewer</h2>
19
dwinter
parents:
diff changeset
3 <form action="changeDocumentViewer">
dwinter
parents:
diff changeset
4
24
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
5 <p class="form-optional">Title</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
6 <p class="form-element"><input size="80" tal:attributes="value here/title" name="title"></p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
7 <p class="form-label">Image viewer URL</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
8 <p class="form-element"><input size="80" tal:attributes="value here/imageViewerUrl" name="imageViewerUrl"></p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
9 <p class="form-text">Full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/zogilib?')</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
10 <p class="form-optional">digilib base URL</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
11 <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl" name="digilibBaseUrl"></p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
12 <p class="form-text">This information can be automatically detected if the image viewer above is a Zogilib instance.<br/>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
13 You must clear this field when you change the image viewer URL above.</p>
25
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
14 <p class="form-optional">Thumbnail rows</p>
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
15 <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p>
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
16 <p class="form-optional">Thumbnail columns</p>
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
17 <p class="form-element"><input size="3" tal:attributes="value here/thumbcols | default" name="thumbcols"></p>
33
b3fe3a50f605 version 0.2.3 - first version with access control!
casties
parents: 25
diff changeset
18 <p class="form-optional">Authorized groups</p>
b3fe3a50f605 version 0.2.3 - first version with access control!
casties
parents: 25
diff changeset
19 <p class="form-element"><input size="80" tal:attributes="value python:','.join(getattr(here,'authgroups', []))" name="authgroups"></p>
b3fe3a50f605 version 0.2.3 - first version with access control!
casties
parents: 25
diff changeset
20 <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access
b3fe3a50f605 version 0.2.3 - first version with access control!
casties
parents: 25
diff changeset
21 to one of these groups, local access to the ressource is granted.</p>
19
dwinter
parents:
diff changeset
22
dwinter
parents:
diff changeset
23 <p><input type="submit" value="change"></p>
dwinter
parents:
diff changeset
24 </form>
dwinter
parents:
diff changeset
25
24
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
26 <div tal:replace="structure here/manage_page_footer">Footer</div>