changeset 87:a0fbc9a42be8

first version with new full-text infrastructure and slightly changed templates
author casties
date Fri, 19 Mar 2010 12:42:40 +0100
parents 395d190940a4
children 4938ce551ae8
files zpt/addDocumentViewer.zpt zpt/changeDocumentViewer.zpt
diffstat 2 files changed, 4 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/addDocumentViewer.zpt	Fri Mar 19 12:42:40 2010 +0100
+++ b/zpt/addDocumentViewer.zpt	Fri Mar 19 12:42:40 2010 +0100
@@ -3,8 +3,8 @@
 		<form action="manage_AddDocumentViewer">
 		<p class="form-label">Id<input name="id"></p>
 		<p class="form-optional">Title<input size="80" name="title"></p>
-		<p class="form-label">Image viewer url<input size="80" name="imageViewerUrl"></p>
-		<p class="form-optional">Text viewer url<input size="80" name="TextViewerUrl" value="testXSLT/getPage?"></p>
+		<p class="form-label">Image scaler URL<input size="80" name="imageScalerUrl" value="http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Scaler?"></p>
+		<p class="form-optional">Text server name<input size="80" name="textServerName" value="mpdl-proto.mpiwg-berlin.mpg.de"></p>
 		
 		<p><input type="submit" value="add"></p>
 		</form>
--- a/zpt/changeDocumentViewer.zpt	Fri Mar 19 12:42:40 2010 +0100
+++ b/zpt/changeDocumentViewer.zpt	Fri Mar 19 12:42:40 2010 +0100
@@ -7,17 +7,8 @@
 		
 		<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 python:getattr(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-text">The image scaler URL and text server URL have to be configured in the <tt>zogilib</tt> and <tt>fulltextclient</tt>
+        objects in the <tt>template</tt> folder.</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>