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
aab83e2a
Commit
aab83e2a
authored
Sep 08, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style mods
parent
62db8594
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+19
-8
No files found.
lib/python/OFS/Application.py
View file @
aab83e2a
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.
7 1997/08/29 18:39:30
brian Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
$Id: Application.py,v 1.
8 1997/09/08 23:38:58
brian Exp $'''
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
import
Folder
,
regex
import
Globals
...
...
@@ -20,15 +20,23 @@ from string import lower, find
from
AccessControl.User
import
UserFolder
class
Application
(
Folder
.
Folder
):
title
=
'Site Studio'
id
=
title
# __roles__=None
web__form__method
=
'GET'
manage_options
=
Folder
.
Folder
.
manage_options
+
(
{
'icon'
:
'App/arrow.jpg'
,
'label'
:
'Application Management'
,
'action'
:
'app/manage'
,
'target'
:
'_top'
},
)
manage_options
=
(
{
'icon'
:
'OFS/Folder_icon.gif'
,
'label'
:
'Contents'
,
'action'
:
'manage_main'
,
'target'
:
'manage_main'
},
{
'icon'
:
'OFS/Properties_icon.gif'
,
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'Access Control'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'OFS/Help_icon.gif'
,
'label'
:
'Control Panel'
,
'action'
:
'app/manage'
,
'target'
:
'_top'
},
{
'icon'
:
'OFS/Help_icon.gif'
,
'label'
:
'Help'
,
'action'
:
'manage_help'
,
'target'
:
'_new'
},
)
def
folderClass
(
self
):
return
Folder
.
Folder
def
__class_init__
(
self
):
pass
...
...
@@ -136,6 +144,9 @@ if __name__ == "__main__": main()
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.8 1997/09/08 23:38:58 brian
# Style mods
#
# Revision 1.7 1997/08/29 18:39:30 brian
# Added role management and fixed a few bugs:
# o images/manage went nowhere
...
...
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