Commit 408df8a0 authored by 's avatar

Fixed Setup, cleaned up SimpleItem

parent 0ee6513c
......@@ -11,8 +11,8 @@
__doc__='''Application support
$Id: Application.py,v 1.38 1998/01/13 23:04:54 brian Exp $'''
__version__='$Revision: 1.38 $'[11:-2]
$Id: Application.py,v 1.39 1998/01/15 15:16:45 brian Exp $'''
__version__='$Revision: 1.39 $'[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__
#
......
......@@ -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
......@@ -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.14 1998/01/12 21:31:39 jim Exp $'''
__version__='$Revision: 1.14 $'[11:-2]
$Id: SimpleItem.py,v 1.15 1998/01/15 15:16:46 brian Exp $'''
__version__='$Revision: 1.15 $'[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'].
#
......
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