diff zpt/changeDocumentViewer.zpt @ 526:3f375a048402

moved search and dict into separate layers. removed search_template. added tocMode=concordance. fixed bug with paging tocs.
author casties
date Tue, 10 Apr 2012 19:41:44 +0200
parents 17f0290b2327
children
line wrap: on
line diff
--- a/zpt/changeDocumentViewer.zpt	Thu Apr 05 19:29:50 2012 +0200
+++ b/zpt/changeDocumentViewer.zpt	Tue Apr 10 19:41:44 2012 +0200
@@ -17,6 +17,10 @@
         <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 class="form-optional">Available Layers</p>
+        <p class="form-element"><input size="80" tal:attributes="value here/getAvailableLayersJson | nothing" name="availableLayers"></p>
+        <p class="form-text">List of available layers per view mode. JSON, one key per mode, null, or a list of layers per key.
+          Leave empty for autoconfiguration.</p>
         <p class="form-optional">Digilib base URL</p>
         <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl | nothing" name="digilibBaseUrl"></p>
         <p class="form-text">Leave empty for autoconfiguration.</p>