Mercurial > hg > documentViewer
view zpt/changeDocumentViewer.zpt @ 61:f3d2f240692c
fixed bug in calculation of group numbers
author | casties |
---|---|
date | Thu, 14 Jun 2007 18:07:21 +0200 |
parents | 6c0f20cecc60 |
children | 0fa278fb82b5 |
line wrap: on
line source
<div tal:replace="structure here/manage_page_header">Header</div> <!-- ZOPE management tabs --> <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing" tal:replace="structure here/manage_tabs">Tabs</h2> <!-- end of ZOPE management tabs --> <form action="changeDocumentViewer"> <p class="form-optional">Title</p> <p class="form-element"><input size="80" tal:attributes="value here/title" name="title"></p> <p class="form-label">Image viewer URL</p> <p class="form-element"><input size="80" tal:attributes="value here/imageViewerUrl" name="imageViewerUrl"></p> <p class="form-text">Full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/zogilib?')</p> <p class="form-optional">digilib base URL</p> <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl" name="digilibBaseUrl"></p> <p class="form-text">This information can be automatically detected if the image viewer above is a Zogilib instance.<br/> You must clear this field when you change the image viewer URL above.</p> <p class="form-label">Text viewer URL</p> <p class="form-element"><input size="80" tal:attributes="value here/textViewerUrl" name="textViewerUrl"></p> <p class="form-text">Should be a displayXML instance, full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/viewText?')</p> <p class="form-optional">Thumbnail rows</p> <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p> <p class="form-optional">Thumbnail columns</p> <p class="form-element"><input size="3" tal:attributes="value here/thumbcols | default" name="thumbcols"></p> <p class="form-optional">Authorized groups</p> <p class="form-element"><input size="80" tal:attributes="value python:','.join(getattr(here,'authgroups', []))" name="authgroups"></p> <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access to one of these groups, local access to the ressource is granted.</p> <p><input type="submit" value="change"></p> </form> <div tal:replace="structure here/manage_page_footer">Footer</div>