Commit 7048a810 authored by Stephan Richter's avatar Stephan Richter

Now the new STX-formatted Help Content is being used. This requires

reinitializing the Product or I had to reinitialize the entire ZODB
sometimes.
parent a8ddf90b
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
This product provides support for external methods, which allow This product provides support for external methods, which allow
domain-specific customization of web environments. domain-specific customization of web environments.
""" """
__version__='$Revision: 1.39 $'[11:-2] __version__='$Revision: 1.40 $'[11:-2]
from Globals import Persistent, HTMLFile, MessageDialog, HTML from Globals import Persistent, HTMLFile, MessageDialog, HTML
import OFS.SimpleItem, Acquisition import OFS.SimpleItem, Acquisition
from string import split, join, find, lower from string import split, join, find, lower
...@@ -159,9 +159,9 @@ class ExternalMethod(OFS.SimpleItem.Item, Persistent, Acquisition.Explicit, ...@@ -159,9 +159,9 @@ class ExternalMethod(OFS.SimpleItem.Item, Persistent, Acquisition.Explicit,
manage_options=( manage_options=(
( (
{'label':'Properties', 'action':'manage_main', {'label':'Properties', 'action':'manage_main',
'help':('ExternalMethod','External-Method_Properties.dtml')}, 'help':('ExternalMethod','External-Method_Properties.stx')},
{'label':'Try It', 'action':'', {'label':'Try It', 'action':'',
'help':('ExternalMethod','External-Method_Try-It.dtml')}, 'help':('ExternalMethod','External-Method_Try-It.stx')},
) )
+OFS.SimpleItem.Item.manage_options +OFS.SimpleItem.Item.manage_options
+AccessControl.Role.RoleManager.manage_options +AccessControl.Role.RoleManager.manage_options
......
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