Annotation of documentViewer/zpt/changeDocumentViewer.zpt, revision 1.4

1.2       casties     1: <div tal:replace="structure here/manage_page_header">Header</div>
                      2:    <h2>Add a Document Viewer</h2>
1.1       dwinter     3:        <form action="changeDocumentViewer">
                      4:        
1.2       casties     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>
1.3       casties    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>
1.4     ! casties    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>
1.1       dwinter    22:        
                     23:        <p><input type="submit" value="change"></p>
                     24:        </form>
                     25:            
1.2       casties    26: <div tal:replace="structure here/manage_page_footer">Footer</div>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>