Commit 99d4f1e7 authored by Amos Latteier's avatar Amos Latteier

Added online help for Factories and Permissions.

parent f4d31dee
......@@ -84,8 +84,8 @@
##############################################################################
__doc__='''Factory objects
$Id: Factory.py,v 1.14 1999/11/03 14:35:41 brian Exp $'''
__version__='$Revision: 1.14 $'[11:-2]
$Id: Factory.py,v 1.15 2000/01/10 20:21:11 amos Exp $'''
__version__='$Revision: 1.15 $'[11:-2]
import OFS.SimpleItem, Acquisition, Globals, AccessControl.Role
import Products, Product
......@@ -108,8 +108,10 @@ class Factory(
)
manage_options=(
{'label':'Edit', 'action':'manage_main'},
{'label':'Security', 'action':'manage_access'},
{'label':'Edit', 'action':'manage_main',
'help':('OFSP','Zope-Factory_Edit.dtml')},
{'label':'Security', 'action':'manage_access',
'help':('OFSP','Zope-Factory_Define-Permissions.dtml')},
)
def __init__(self, id, title, object_type, initial, permission=''):
......
......@@ -84,8 +84,8 @@
##############################################################################
__doc__='''Zope registerable permissions
$Id: Permission.py,v 1.1 1999/07/21 13:15:24 jim Exp $'''
__version__='$Revision: 1.1 $'[11:-2]
$Id: Permission.py,v 1.2 2000/01/10 20:21:11 amos Exp $'''
__version__='$Revision: 1.2 $'[11:-2]
import OFS.SimpleItem, Acquisition, Globals, ExtensionClass, AccessControl.Role
......@@ -98,8 +98,10 @@ class Permission(
icon='p_/Permission_icon'
manage_options=(
{'label':'Edit', 'action':'manage_main'},
{'label':'Security', 'action':'manage_access'},
{'label':'Edit', 'action':'manage_main',
'help':('OFSP','Zope-Permission_Edit.dtml')},
{'label':'Security', 'action':'manage_access',
'help':('OFSP','Zope-Permission_Define-Permissions.dtml')},
)
def __init__(self, id, title, name):
......
......@@ -4,6 +4,8 @@
<h2>Add an Object Factory</h2>
<dtml-var "HelpSys.HelpButton('Zope-Factory_Add.dtml')">
<P>A Factory allows you to place entries in the Zope Product add
list.</P>
......
......@@ -4,6 +4,8 @@
<h2>Define a permission</h2>
<dtml-var "HelpSys.HelpButton('Zope-Permission_Add.dtml')">
<form action="manage_addPermission" method="POST">
<table cellspacing="2">
......
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