Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
782af1ca
Commit
782af1ca
authored
Jan 10, 2000
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added online help for the Control Panel.
parent
57a998ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
20 deletions
+41
-20
lib/python/App/ApplicationManager.py
lib/python/App/ApplicationManager.py
+15
-8
lib/python/App/Product.py
lib/python/App/Product.py
+24
-12
lib/python/App/addProduct.dtml
lib/python/App/addProduct.dtml
+2
-0
No files found.
lib/python/App/ApplicationManager.py
View file @
782af1ca
...
...
@@ -83,7 +83,7 @@
#
##############################################################################
__doc__
=
"""System management components"""
__version__
=
'$Revision: 1.5
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
8
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
string
,
Globals
,
Acquisition
,
os
...
...
@@ -114,10 +114,14 @@ class DatabaseManager(Fake, SimpleItem.Item, Acquisition.Implicit):
icon
=
'p_/DatabaseManagement_icon'
manage_options
=
(
{
'label'
:
'Database'
,
'action'
:
'manage_main'
},
{
'label'
:
'Cache Parameters'
,
'action'
:
'manage_cacheParameters'
},
{
'label'
:
'Flush Cache'
,
'action'
:
'manage_cacheGC'
},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
},
{
'label'
:
'Database'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Database-Management_Database.dtml'
)},
{
'label'
:
'Cache Parameters'
,
'action'
:
'manage_cacheParameters'
,
'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
):
...
...
@@ -129,7 +133,8 @@ class VersionManager(Fake, SimpleItem.Item, Acquisition.Implicit):
icon
=
'p_/VersionManagement_icon'
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):
)
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
},
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Control-Panel_Contents.dtml'
)},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'help'
:(
'OFSP'
,
'Control-Panel_Undo.dtml'
)},
)
id
=
'Control_Panel'
...
...
lib/python/App/Product.py
View file @
782af1ca
...
...
@@ -125,12 +125,18 @@ class ProductFolder(Folder):
icon
=
'p_/ProductFolder_icon'
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
{
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
},
{
'label'
:
'Import/Export'
,
'action'
:
'manage_importExportForm'
},
{
'label'
:
'Security'
,
'action'
:
'manage_access'
},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
},
{
'label'
:
'Find'
,
'action'
:
'manage_findFrame'
},
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Product-Management_Contents.dtml'
)},
{
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
,
'help'
:(
'OFSP'
,
'Product-Management_Properties.dtml'
)},
{
'label'
:
'Import/Export'
,
'action'
:
'manage_importExportForm'
,
'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'
},
...
...
@@ -186,12 +192,18 @@ class Product(Folder, PermissionManager):
'manage_subclassableClassNames'
]
manage_options
=
(
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
},
{
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
},
{
'label'
:
'Security'
,
'action'
:
'manage_access'
},
{
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
},
{
'label'
:
'Find'
,
'action'
:
'manage_findFrame'
},
{
'label'
:
'Distribution'
,
'action'
:
'manage_distributionView'
},
{
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'help'
:(
'OFSP'
,
'Product_Contents.dtml'
)},
{
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
,
'help'
:(
'OFSP'
,
'Product_Properties.dtml'
)},
{
'label'
:
'Security'
,
'action'
:
'manage_access'
,
'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
())
...
...
lib/python/App/addProduct.dtml
View file @
782af1ca
...
...
@@ -4,6 +4,8 @@
<h2>
Add a Product
</h2>
<dtml-var
"
HelpSys
.
HelpButton
('
Product_Add
.
dtml
')"
>
<P>
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment