Commit a184cb88 authored by Jim Fulton's avatar Jim Fulton

Added a little more info to manage_options to work with

new filtered_manage_options.
parent d6494133
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""Property sheets""" """Property sheets"""
__version__='$Revision: 1.40 $'[11:-2] __version__='$Revision: 1.41 $'[11:-2]
import time, string, App.Management, Globals import time, string, App.Management, Globals
from ZPublisher.Converters import type_converters from ZPublisher.Converters import type_converters
...@@ -124,7 +124,10 @@ class View(App.Management.Tabs, Base): ...@@ -124,7 +124,10 @@ class View(App.Management.Tabs, Base):
r=[] r=[]
for d in self.aq_parent.aq_parent.manage_options: for d in self.aq_parent.aq_parent.manage_options:
r.append({'label': d['label'], 'action': pre+d['action']}) path=d['action']
r.append({'label': d['label'],
'action': pre+path,
'path': '../../'+path})
return r return r
def tabs_path_info(self, script, path): def tabs_path_info(self, script, path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment