annotate zpt/changeDocumentViewer.zpt @ 67:0fa278fb82b5

fixed problem with old viewer instances
author casties
date Wed, 16 Jan 2008 19:13:26 +0100
parents 6c0f20cecc60
children a0fbc9a42be8
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>
45
0391fe75aef3 fixed handling of documents with missing access tag
casties
parents: 33
diff changeset
2 <!-- ZOPE management tabs -->
0391fe75aef3 fixed handling of documents with missing access tag
casties
parents: 33
diff changeset
3 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
0391fe75aef3 fixed handling of documents with missing access tag
casties
parents: 33
diff changeset
4 tal:replace="structure here/manage_tabs">Tabs</h2>
0391fe75aef3 fixed handling of documents with missing access tag
casties
parents: 33
diff changeset
5 <!-- end of ZOPE management tabs -->
19
dwinter
parents:
diff changeset
6 <form action="changeDocumentViewer">
dwinter
parents:
diff changeset
7
24
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
8 <p class="form-optional">Title</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
9 <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
10 <p class="form-label">Image viewer URL</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
11 <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
12 <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
13 <p class="form-optional">digilib base URL</p>
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
14 <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
15 <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
16 You must clear this field when you change the image viewer URL above.</p>
48
6b5b153209bd has now also a text mode viewMode=text
dwinter
parents: 45
diff changeset
17 <p class="form-label">Text viewer URL</p>
67
0fa278fb82b5 fixed problem with old viewer instances
casties
parents: 50
diff changeset
18 <p class="form-element"><input size="80" tal:attributes="value python:getattr(here,'textViewerUrl','')" name="textViewerUrl"></p>
50
6c0f20cecc60 added evaluation of the presentation/info.xml in texttools
dwinter
parents: 48
diff changeset
19 <p class="form-text">Should be a displayXML instance, full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/viewText?')</p>
48
6b5b153209bd has now also a text mode viewMode=text
dwinter
parents: 45
diff changeset
20
25
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
21 <p class="form-optional">Thumbnail rows</p>
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
22 <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
23 <p class="form-optional">Thumbnail columns</p>
e93fb8cadd3a new, less preliminary version 0.2
casties
parents: 24
diff changeset
24 <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
25 <p class="form-optional">Authorized groups</p>
b3fe3a50f605 version 0.2.3 - first version with access control!
casties
parents: 25
diff changeset
26 <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
27 <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
28 to one of these groups, local access to the ressource is granted.</p>
19
dwinter
parents:
diff changeset
29
dwinter
parents:
diff changeset
30 <p><input type="submit" value="change"></p>
dwinter
parents:
diff changeset
31 </form>
dwinter
parents:
diff changeset
32
24
2204e028811b preliminary version 0.2
casties
parents: 19
diff changeset
33 <div tal:replace="structure here/manage_page_footer">Footer</div>