Mercurial > hg > documentViewer
view 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 |
line wrap: on
line source
<div tal:replace="structure here/manage_page_header">Header</div> <h2>Add a Document Viewer</h2> <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-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>