Commit 782af1ca authored by Amos Latteier's avatar Amos Latteier

Added online help for the Control Panel.

parent 57a998ef
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__doc__="""System management components""" __doc__="""System management components"""
__version__='$Revision: 1.57 $'[11:-2] __version__='$Revision: 1.58 $'[11:-2]
import sys,os,time,string,Globals, Acquisition, os import sys,os,time,string,Globals, Acquisition, os
...@@ -114,10 +114,14 @@ class DatabaseManager(Fake, SimpleItem.Item, Acquisition.Implicit): ...@@ -114,10 +114,14 @@ class DatabaseManager(Fake, SimpleItem.Item, Acquisition.Implicit):
icon='p_/DatabaseManagement_icon' icon='p_/DatabaseManagement_icon'
manage_options=( manage_options=(
{'label':'Database', 'action':'manage_main'}, {'label':'Database', 'action':'manage_main',
{'label':'Cache Parameters', 'action':'manage_cacheParameters'}, 'help':('OFSP','Database-Management_Database.dtml')},
{'label':'Flush Cache', 'action':'manage_cacheGC'}, {'label':'Cache Parameters', 'action':'manage_cacheParameters',
{'label':'Undo', 'action':'manage_UndoForm'}, 'help':('OFSP','Database-Management_Cache-Parameters.dtml')},
{'label':'Flush Cache', 'action':'manage_cacheGC',
'help':('OFSP','Database-Management_Flush-Cache.dtml')},
{'label':'Undo', 'action':'manage_UndoForm',
'help':('OFSP','Database-Management_Undo.dtml')},
) )
class VersionManager(Fake, SimpleItem.Item, Acquisition.Implicit): class VersionManager(Fake, SimpleItem.Item, Acquisition.Implicit):
...@@ -129,7 +133,8 @@ class VersionManager(Fake, SimpleItem.Item, Acquisition.Implicit): ...@@ -129,7 +133,8 @@ class VersionManager(Fake, SimpleItem.Item, Acquisition.Implicit):
icon='p_/VersionManagement_icon' icon='p_/VersionManagement_icon'
manage_options=( manage_options=(
{'label':'Version', 'action':'manage_main'}, {'label':'Version', 'action':'manage_main',
'help':('OFSP','Version-Management_Version.dtml')},
) )
...@@ -170,8 +175,10 @@ class ApplicationManager(Folder,CacheManager): ...@@ -170,8 +175,10 @@ class ApplicationManager(Folder,CacheManager):
) )
manage_options=( manage_options=(
{'label':'Contents', 'action':'manage_main'}, {'label':'Contents', 'action':'manage_main',
{'label':'Undo', 'action':'manage_UndoForm'}, 'help':('OFSP','Control-Panel_Contents.dtml')},
{'label':'Undo', 'action':'manage_UndoForm',
'help':('OFSP','Control-Panel_Undo.dtml')},
) )
id ='Control_Panel' id ='Control_Panel'
......
...@@ -125,12 +125,18 @@ class ProductFolder(Folder): ...@@ -125,12 +125,18 @@ class ProductFolder(Folder):
icon='p_/ProductFolder_icon' icon='p_/ProductFolder_icon'
manage_options=( manage_options=(
{'label':'Contents', 'action':'manage_main'}, {'label':'Contents', 'action':'manage_main',
{'label':'Properties', 'action':'manage_propertiesForm'}, 'help':('OFSP','Product-Management_Contents.dtml')},
{'label':'Import/Export', 'action':'manage_importExportForm'}, {'label':'Properties', 'action':'manage_propertiesForm',
{'label':'Security', 'action':'manage_access'}, 'help':('OFSP','Product-Management_Properties.dtml')},
{'label':'Undo', 'action':'manage_UndoForm'}, {'label':'Import/Export', 'action':'manage_importExportForm',
{'label':'Find', 'action':'manage_findFrame'}, 'help':('OFSP','Product-Management_Import-Export.dtml')},
{'label':'Security', 'action':'manage_access',
'help':('OFSP','Product-Management_Security.dtml')},
{'label':'Undo', 'action':'manage_UndoForm',
'help':('OFSP','Product-Management_Undo.dtml')},
{'label':'Find', 'action':'manage_findFrame',
'help':('OFSP','Product-Management_Find.dtml')},
) )
all_meta_types={'name': 'Product', 'action': 'manage_addProductForm'}, all_meta_types={'name': 'Product', 'action': 'manage_addProductForm'},
...@@ -186,12 +192,18 @@ class Product(Folder, PermissionManager): ...@@ -186,12 +192,18 @@ class Product(Folder, PermissionManager):
'manage_subclassableClassNames'] 'manage_subclassableClassNames']
manage_options=( manage_options=(
{'label':'Contents', 'action':'manage_main'}, {'label':'Contents', 'action':'manage_main',
{'label':'Properties', 'action':'manage_propertiesForm'}, 'help':('OFSP','Product_Contents.dtml')},
{'label':'Security', 'action':'manage_access'}, {'label':'Properties', 'action':'manage_propertiesForm',
{'label':'Undo', 'action':'manage_UndoForm'}, 'help':('OFSP','Product_Properties.dtml')},
{'label':'Find', 'action':'manage_findFrame'}, {'label':'Security', 'action':'manage_access',
{'label':'Distribution', 'action':'manage_distributionView'}, 'help':('OFSP','Product_Define-Permissions.dtml')},
{'label':'Undo', 'action':'manage_UndoForm',
'help':('OFSP','Product_Undo.dtml')},
{'label':'Find', 'action':'manage_findFrame',
'help':('OFSP','Product_Find.dtml')},
{'label':'Distribution', 'action':'manage_distributionView',
'help':('OFSP','Product_Distribution.dtml')},
) )
manage_distributionView=Globals.HTMLFile('distributionView',globals()) manage_distributionView=Globals.HTMLFile('distributionView',globals())
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
<h2>Add a Product</h2> <h2>Add a Product</h2>
<dtml-var "HelpSys.HelpButton('Product_Add.dtml')">
<P> <P>
Products allows you to define new types of Zope objects. A Product contains Products allows you to define new types of Zope objects. A Product contains
other objects including a Factory which allows you to make your Product objects other objects including a Factory which allows you to make your Product objects
......
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