[Zope-Checkins] SVN: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/ added "Browse" tab

Andreas Jung andreas at andreas-jung.com
Mon Jan 31 15:53:55 EST 2005


Log message for revision 29005:
  added "Browse" tab
  

Changed:
  U   Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py
  U   Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py

-=-
Modified: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py
===================================================================
--- Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py	2005-01-31 20:50:36 UTC (rev 29004)
+++ Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py	2005-01-31 20:53:55 UTC (rev 29005)
@@ -88,10 +88,15 @@
                   'mode':'w'},)
 
     manage = manage_main = DTMLFile( 'dtml/manageDateIndex', globals() )
+    manage_browse = DTMLFile('../dtml/browseIndex', globals())
+
     manage_main._setName( 'manage_main' )
     manage_options = ( { 'label' : 'Settings'
                        , 'action' : 'manage_main'
                        },
+                       {'label': 'Browse',
+                        'action': 'manage_browse',
+                       },
                      ) + PropertyManager.manage_options
 
     def clear( self ):

Modified: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
===================================================================
--- Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py	2005-01-31 20:50:36 UTC (rev 29004)
+++ Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py	2005-01-31 20:53:55 UTC (rev 29005)
@@ -34,6 +34,9 @@
         {'label': 'Settings',
          'action': 'manage_main',
          'help': ('KeywordIndex','KeywordIndex_Settings.stx')},
+        {'label': 'Browse',
+         'action': 'manage_browse',
+         'help': ('FieldIndex','FieldIndex_Settings.stx')},
     )
 
     query_options = ("query","operator", "range")
@@ -128,6 +131,7 @@
 
     index_html = DTMLFile('dtml/index', globals())
     manage_workspace = DTMLFile('dtml/manageKeywordIndex', globals())
+    manage_browse = DTMLFile('../dtml/browseIndex', globals())
 
 
 



More information about the Zope-Checkins mailing list