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
408df8a0
Commit
408df8a0
authored
Jan 15, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Setup, cleaned up SimpleItem
parent
0ee6513c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+5
-7
lib/python/OFS/Setup
lib/python/OFS/Setup
+2
-3
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+6
-3
No files found.
lib/python/OFS/Application.py
View file @
408df8a0
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.3
8 1998/01/13 23:04:54
brian Exp $'''
__version__
=
'$Revision: 1.3
8
$'
[
11
:
-
2
]
$Id: Application.py,v 1.3
9 1998/01/15 15:16:45
brian Exp $'''
__version__
=
'$Revision: 1.3
9
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
...
...
@@ -66,12 +66,8 @@ class Application(Folder.Folder):
'action'
:
'manage_access'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
# {'icon':'OFS/Help_icon.gif', 'label':'Help',
# 'action':'manage_help', 'target':'_new'},
)
# manage_rolesForm=Globals.HTMLFile('rolesForm', globals())
_reserved_names
=
(
'standard_html_header'
,
'standard_html_footer'
,
'acl_users'
,
...
...
@@ -80,7 +76,6 @@ class Application(Folder.Folder):
def
_init
(
self
):
# Initialize users
self
.
__allow_groups__
=
UserFolder
()
# self.__allow_groups__._init()
self
.
_setObject
(
'acl_users'
,
self
.
__allow_groups__
)
# Initialize control panel
...
...
@@ -259,6 +254,9 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.39 1998/01/15 15:16:45 brian
# Fixed Setup, cleaned up SimpleItem
#
# Revision 1.38 1998/01/13 23:04:54 brian
# Removed __ac_types__
#
...
...
lib/python/OFS/Setup
View file @
408df8a0
...
...
@@ -6,9 +6,7 @@
# install Moniker.py
# install ObjectManager.py
# install SimpleItem.py
# install __init__.py
# install content_types.py
# install rPickle.py
# install documentAdd.dtml
# install documentEdit.dtml
# install documentUpload.dtml
...
...
@@ -20,4 +18,5 @@
# install main.dtml
# install pasteDialog.dtml
# install properties.dtml
# install rolesForm.dtml
# install rPickle.py
# install www
lib/python/OFS/SimpleItem.py
View file @
408df8a0
...
...
@@ -16,8 +16,8 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
item types.
$Id: SimpleItem.py,v 1.1
4 1998/01/12 21:31:39 jim
Exp $'''
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
$Id: SimpleItem.py,v 1.1
5 1998/01/15 15:16:46 brian
Exp $'''
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
import
Globals
,
App
.
Management
from
DateTime
import
DateTime
...
...
@@ -44,7 +44,7 @@ class Item(CopySource, App.Management.Tabs):
'action'
:
'manage_main'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Access Control'
,
'action'
:
'manage_
rolesForm
'
,
'target'
:
'manage_main'
,
'action'
:
'manage_
access
'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
,
...
...
@@ -119,6 +119,9 @@ class Item_w__name__(Item):
##############################################################################
#
# $Log: SimpleItem.py,v $
# Revision 1.15 1998/01/15 15:16:46 brian
# Fixed Setup, cleaned up SimpleItem
#
# Revision 1.14 1998/01/12 21:31:39 jim
# Made standard defaulr ['Manager', 'Shared'].
#
...
...
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