File:  [Repository] / documentViewer / zpt / changeDocumentViewer.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Apr 11 17:27:57 2006 UTC (18 years, 2 months ago) by casties
Branches: MAIN
CVS tags: roc_1, Root_roc_1, HEAD
version 0.2.3 - first version with access control!
* defaults to open when no access info
* uses any logged in user for local access

<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>

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