# HG changeset patch # User casties # Date 1348824325 -7200 # Node ID 6ab436383fcaa2c358dbc97fdb5246e6369823eb # Parent abcb67f5cab40c4a1e4ef89c4ca648acd12509a7 first step to layers for index view. diff -r abcb67f5cab4 -r 6ab436383fca documentViewer.py --- a/documentViewer.py Wed Sep 26 23:20:06 2012 +0200 +++ b/documentViewer.py Fri Sep 28 11:25:25 2012 +0200 @@ -128,7 +128,7 @@ viewer_thumbs = PageTemplateFile('zpt/viewer_thumbs', globals()) # available layer types (annotator not default) builtinLayers = {'text': ['dict','search','gis'], - 'xml': None, 'images': None, 'index': None} + 'xml': None, 'images': None, 'index': ['extended']} availableLayers = builtinLayers; # layer templates layer_text_dict = PageTemplateFile('zpt/layer_text_dict', globals()) diff -r abcb67f5cab4 -r 6ab436383fca zpt/viewer_index.zpt --- a/zpt/viewer_index.zpt Wed Sep 26 23:20:06 2012 +0200 +++ b/zpt/viewer_index.zpt Fri Sep 28 11:25:25 2012 +0200 @@ -3,6 +3,8 @@ @@ -10,6 +12,12 @@