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
abc25a07
Commit
abc25a07
authored
Dec 12, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui update
parent
ec6aa794
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
112 additions
and
70 deletions
+112
-70
lib/python/App/manage.dtml
lib/python/App/manage.dtml
+1
-1
lib/python/App/manage_tabs.dtml
lib/python/App/manage_tabs.dtml
+25
-2
lib/python/App/menu.dtml
lib/python/App/menu.dtml
+13
-3
lib/python/App/undo.dtml
lib/python/App/undo.dtml
+1
-3
lib/python/App/www/ltab.gif
lib/python/App/www/ltab.gif
+0
-0
lib/python/App/www/rtab.gif
lib/python/App/www/rtab.gif
+0
-0
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+12
-5
lib/python/OFS/Document.py
lib/python/OFS/Document.py
+2
-2
lib/python/OFS/DraftFolder.py
lib/python/OFS/DraftFolder.py
+7
-4
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+4
-4
lib/python/OFS/Image.py
lib/python/OFS/Image.py
+2
-2
lib/python/OFS/Session.py
lib/python/OFS/Session.py
+6
-3
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+6
-2
lib/python/OFS/documentEdit.dtml
lib/python/OFS/documentEdit.dtml
+1
-3
lib/python/OFS/documentUpload.dtml
lib/python/OFS/documentUpload.dtml
+1
-3
lib/python/OFS/imageEdit.dtml
lib/python/OFS/imageEdit.dtml
+1
-3
lib/python/OFS/imageUpload.dtml
lib/python/OFS/imageUpload.dtml
+1
-3
lib/python/OFS/main.dtml
lib/python/OFS/main.dtml
+6
-4
lib/python/OFS/properties.dtml
lib/python/OFS/properties.dtml
+1
-2
lib/python/OFS/rolesForm.dtml
lib/python/OFS/rolesForm.dtml
+0
-2
lib/python/OFS/sessionEdit.dtml
lib/python/OFS/sessionEdit.dtml
+1
-3
lib/python/Products/OFSP/DraftFolder.py
lib/python/Products/OFSP/DraftFolder.py
+7
-4
lib/python/Products/OFSP/Session.py
lib/python/Products/OFSP/Session.py
+6
-3
lib/python/Products/OFSP/Version.py
lib/python/Products/OFSP/Version.py
+6
-3
lib/python/Products/OFSP/sessionEdit.dtml
lib/python/Products/OFSP/sessionEdit.dtml
+1
-3
lib/python/Products/OFSP/versionEdit.dtml
lib/python/Products/OFSP/versionEdit.dtml
+1
-3
No files found.
lib/python/App/manage.dtml
View file @
abc25a07
...
...
@@ -19,7 +19,7 @@ function update(target)
<FRAME SRC="manage_menu" NAME="manage_menu"
MARGINWIDTH="2" MARGINHEIGHT="2" SCROLLING="auto">
<FRAME SRC="manage_main" NAME="manage_main"
MARGINWIDTH="2" MARGINHEIGHT="
2
" SCROLLING="auto">
MARGINWIDTH="2" MARGINHEIGHT="
0
" SCROLLING="auto">
</FRAMESET>
<NOFRAMES>
Management interfaces require the use of a <B>frames-capable</B> web browser.
...
...
lib/python/App/manage_tabs.dtml
View file @
abc25a07
<!--#if manage_options-->
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="
2
">
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="
0
">
<TR>
<!--#in manage_options mapping-->
<!--#if sequence-item-->
<!--#if expr="_vars['PATH_INFO'][-(_.len(action)):]==action"-->
<TD ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#FFFFFF">
<FONT SIZE="-1">
<IMG ALIGN="LEFT" HSPACE="0" SRC="<!--#var SOFTWARE_URL-->/App/ltab.gif">
<IMG ALIGN="RIGHT" HSPACE="0" SRC="<!--#var SOFTWARE_URL-->/App/rtab.gif">
<STRONG>
<!--#if action-->
<A HREF="<!--#var action-->"><!--#var label--></A>
...
...
@@ -13,12 +15,15 @@
<A HREF="<!--#var URL1-->"><!--#var label--></A>
<!--#/if action-->
</STRONG>
</FONT>
</TD>
<!--#else-->
<TD ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#EFEFEF">
<FONT SIZE="-1">
<!--#if action-->
<IMG ALIGN="LEFT" HSPACE="0" SRC="<!--#var SOFTWARE_URL-->/App/ltab.gif">
<IMG ALIGN="RIGHT" HSPACE="0" SRC="<!--#var SOFTWARE_URL-->/App/rtab.gif">
<!--#if action-->
<A HREF="<!--#var action-->"><!--#var label--></A>
<!--#else action-->
<A HREF="<!--#var URL1-->"><!--#var label--></A>
...
...
@@ -31,3 +36,21 @@
</TR>
</TABLE>
<!--#/if manage_options-->
<BR>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="2">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<IMG SRC="<!--#var SOFTWARE_URL-->/<!--#var icon-->"
ALT="<!--#var meta_type-->" BORDER="0">
<STRONG>
<!--#if meta_type-->
<!--#var meta_type-->
<!--#else-->
Object
<!--#/if-->
at <!--#var SCRIPT_NAME--><!--#var
expr="PATH_INFO[:(_.string.rfind(PATH_INFO,'/'))]"-->
</STRONG>
</TD>
</TR>
</TABLE>
lib/python/App/menu.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>
Principia
Navigator</TITLE>
<TITLE>Navigator</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<TABLE CELLSPACING="0">
...
...
@@ -11,7 +11,7 @@
ALT="Click to open this item"></A>
<STRONG>
<A HREF="manage_main" TARGET="manage_main">
<!--#var
title_or_id
-->
<!--#var
expr="SCRIPT_NAME[1:]"
-->
</A>
</STRONG>
</TD>
...
...
@@ -22,10 +22,20 @@
<IMG SRC="<!--#var SOFTWARE_URL-->/<!--#var icon-->" BORDER="0"
ALT="Click to open this item"></A>
<A HREF="<!--#var tree-item-url-->/manage_main" TARGET="manage_main">
<!--#var
title_or_
id-->
<!--#var id-->
</A>
<!--#/tree-->
<TABLE CELLSPACING="0">
<TR>
<TD WIDTH="16"></TD>
<TD VALIGN="TOP" NOWRAP>
<STRONG>
<A HREF="manage_copyright" TARGET="manage_main">
© Digital Creations
</A>
</STRONG>
</TD>
</TR>
<TR>
<TD WIDTH="16"></TD>
<TD VALIGN="TOP" NOWRAP>
...
...
lib/python/App/undo.dtml
View file @
abc25a07
...
...
@@ -4,14 +4,12 @@
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<!--#var manage_tabs-->
<H2>Undo Changes</H2>
<P>
<FORM ACTION="manage_undo_transactions" METHOD="POST">
This application's transactional feature allows you to easily undo changes
made to the application's settings or data. You can revert the application
to a "snapshot" of it's state at a previous point in time.
<P>
Select one or more transactions below and then click on the "Undo"
button to undo the transactions. Note that even though a transaction
is shown below, you will not be able to undo it if later transactions
...
...
lib/python/App/www/ltab.gif
0 → 100644
View file @
abc25a07
830 Bytes
lib/python/App/www/rtab.gif
0 → 100644
View file @
abc25a07
830 Bytes
lib/python/OFS/Application.py
View file @
abc25a07
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.2
3 1997/12/05 20:33:02
brian Exp $'''
__version__
=
'$Revision: 1.2
3
$'
[
11
:
-
2
]
$Id: Application.py,v 1.2
4 1997/12/12 21:49:41
brian Exp $'''
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
...
...
@@ -24,7 +24,7 @@ from App.ApplicationManager import ApplicationManager
class
Application
(
Folder
.
Folder
):
title
=
'Principia'
id
=
title
#
id =title
__roles__
=
None
__defined_roles__
=
(
'manage'
,)
web__form__method
=
'GET'
...
...
@@ -34,8 +34,8 @@ class Application(Folder.Folder):
'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'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'
Security
'
,
'action'
:
'manage_
changeAccess
'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
# {'icon':'OFS/Help_icon.gif', 'label':'Help',
...
...
@@ -69,6 +69,10 @@ class Application(Folder.Folder):
'</BODY></HTML>'
)
def
id
(
self
):
try
:
return
self
.
REQUEST
[
'SCRIPT_NAME'
][
1
:]
except
:
return
self
.
title
def
folderClass
(
self
):
return
Folder
.
Folder
def
__class_init__
(
self
):
pass
...
...
@@ -248,6 +252,9 @@ if __name__ == "__main__": main()
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.24 1997/12/12 21:49:41 brian
# ui update
#
# Revision 1.23 1997/12/05 20:33:02 brian
# *** empty log message ***
#
...
...
lib/python/OFS/Document.py
View file @
abc25a07
"""Document object"""
__version__
=
'$Revision: 1.2
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
8
$'
[
11
:
-
2
]
from
Globals
import
HTML
,
HTMLFile
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
...
...
@@ -24,7 +24,7 @@ class Document(HTML, RoleManager, SimpleItem.Item_w__name__,
{
'icon'
:
''
,
'label'
:
'View'
,
'action'
:
''
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'
Access Control
'
,
{
'icon'
:
''
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Undo'
,
...
...
lib/python/OFS/DraftFolder.py
View file @
abc25a07
...
...
@@ -14,8 +14,8 @@ Provide an area where people can work without others seeing their changes.
A Draft folder is a surrogate for a folder. It get
\
'
s subobjects by
gettingthem from a session copy of a base folder.
$Id: DraftFolder.py,v 1.
3 1997/12/05 20:33:0
2 brian Exp $'''
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
$Id: DraftFolder.py,v 1.
4 1997/12/12 21:49:4
2 brian Exp $'''
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
import
time
,
SimpleItem
,
AccessControl
.
Role
,
Persistence
,
Acquisition
,
Globals
import
AccessControl.User
,
Session
...
...
@@ -38,7 +38,7 @@ def hack(self):
{
'icon'
:
'OFS/Properties_icon.gif'
,
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'
Access Control
'
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
...
...
@@ -62,7 +62,7 @@ class DraftFolder(Persistence.Persistent,
'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
'
,
{
'icon'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
...
...
@@ -210,6 +210,9 @@ class Supervisor(AccessControl.User.UserFolder, Session.Session):
##############################################################################
#
# $Log: DraftFolder.py,v $
# Revision 1.4 1997/12/12 21:49:42 brian
# ui update
#
# Revision 1.3 1997/12/05 20:33:02 brian
# *** empty log message ***
#
...
...
lib/python/OFS/Folder.py
View file @
abc25a07
"""Folder object
$Id: Folder.py,v 1.2
2 1997/12/05 17:13:49
brian Exp $"""
$Id: Folder.py,v 1.2
3 1997/12/12 21:49:43
brian Exp $"""
__version__
=
'$Revision: 1.2
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
3
$'
[
11
:
-
2
]
from
Globals
import
HTMLFile
...
...
@@ -91,8 +91,8 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
'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'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'
Security
'
,
'action'
:
'manage_
changeAccess
'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
# {'icon':'OFS/Help_icon.gif', 'label':'Help',
...
...
lib/python/OFS/Image.py
View file @
abc25a07
"""Image object"""
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
from
Persistence
import
Persistent
from
Globals
import
HTMLFile
...
...
@@ -28,7 +28,7 @@ class File(Persistent,RoleManager,SimpleItem.Item_w__name__,
{
'icon'
:
''
,
'label'
:
'View'
,
'action'
:
'index_html'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'
Access Control
'
,
{
'icon'
:
''
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Undo'
,
...
...
lib/python/OFS/Session.py
View file @
abc25a07
...
...
@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session.
$Id: Session.py,v 1.
5 1997/12/05 17:13:51
brian Exp $'''
$Id: Session.py,v 1.
6 1997/12/12 21:49:44
brian Exp $'''
import
time
,
SimpleItem
,
AccessControl
.
Role
,
Persistence
,
Acquisition
,
Globals
from
string
import
rfind
...
...
@@ -54,7 +54,7 @@ class Session(Persistence.Persistent,
{
'icon'
:
''
,
'label'
:
'Join/Leave'
,
'action'
:
'index_html'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'
Access Control
'
,
{
'icon'
:
''
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Undo'
,
...
...
@@ -123,7 +123,7 @@ class Session(Persistence.Persistent,
def
nonempty
(
self
):
return
Globals
.
SessionBase
[
self
.
cookie
].
nonempty
()
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
...
...
@@ -131,6 +131,9 @@ __version__='$Revision: 1.5 $'[11:-2]
##############################################################################
#
# $Log: Session.py,v $
# Revision 1.6 1997/12/12 21:49:44 brian
# ui update
#
# Revision 1.5 1997/12/05 17:13:51 brian
# New UI
#
...
...
lib/python/OFS/SimpleItem.py
View file @
abc25a07
...
...
@@ -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.
7 1997/12/05 17:13:52
brian Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
$Id: SimpleItem.py,v 1.
8 1997/12/12 21:49:44
brian Exp $'''
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
import
Globals
from
DateTime
import
DateTime
...
...
@@ -39,6 +39,7 @@ class Item(CopySource):
title
=
''
manage_tabs
=
Globals
.
HTMLFile
(
'App/manage_tabs'
)
manage_info
=
Globals
.
HTMLFile
(
'App/manage_info'
)
manage_options
=
({
'icon'
:
''
,
'label'
:
'Manage'
,
'action'
:
'manage_main'
,
'target'
:
'manage_main'
,
},
...
...
@@ -118,6 +119,9 @@ class Item_w__name__(Item):
##############################################################################
#
# $Log: SimpleItem.py,v $
# Revision 1.8 1997/12/12 21:49:44 brian
# ui update
#
# Revision 1.7 1997/12/05 17:13:52 brian
# New UI
#
...
...
lib/python/OFS/documentEdit.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Edit
<!--#var title_or_id-->
</TITLE>
<TITLE>Edit</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Edit <!--#var title_or_id--></H2>
<FORM ACTION="manage_edit" METHOD="POST">
<TABLE CELLSPACING="2">
<TR>
...
...
lib/python/OFS/documentUpload.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Upload
document data
</TITLE>
<TITLE>Upload</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Upload document data</H2>
You may upload the source for <!--#var title_and_id--> using the form below.
Choose an existing html file from your local computer by clicking the
<I>Browse</I> button.
...
...
lib/python/OFS/imageEdit.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Edit
<!--#var title_or_id-->
</TITLE>
<TITLE>Edit</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Edit <!--#var title_or_id--></H2>
<FORM ACTION="manage_edit" METHOD="POST" TARGET="manage_main">
<TABLE CELLSPACING="2">
<TR>
...
...
lib/python/OFS/imageUpload.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Upload
<!--#var kind--> data
</TITLE>
<TITLE>Upload</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Upload data to <EM><!--#var title_or_id--></EM></H2>
You can update data in the <!--#var kind--> using the form below.
Select a data file from your local computer by clicking the <EM>Browse</EM>
button. The file you select will be uploaded to the application.
...
...
lib/python/OFS/main.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Contents
of <!--#var title_or_id-->
</TITLE>
<TITLE>Contents</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Contents of <EM><!--#var title_or_id--></EM></H2>
<!--#if Principia-Session-->
<EM>You are currently working in session <!--#var Principia-Session--></EM>
<P>
<!--#/if Principia-Session-->
<FORM ACTION="manage_delObjects" METHOD="POST">
<!--#if objectValues-->
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING=2>
...
...
@@ -27,7 +25,11 @@
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<A HREF="<!--#var id-->/manage_main">
<!--#var title_and_id--></A>
<!--#var id-->
<!--#if title-->
(<!--#var title-->)
<!--#/if title-->
</A>
<!--#if modified_in_session-->
<IMG SRC="<!--#var SOFTWARE_URL-->/OFS/modified.gif"
ALT="This item has been modified in a session">
...
...
lib/python/OFS/properties.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Properties
for <!--#var title_or_id-->
</TITLE>
<TITLE>Properties</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Properties for <EM><!--#var title_or_id--></EM></H2>
<!--#if Principia-Session-->
<EM>You are currently working in session <!--#var Principia-Session--></EM>
<P>
...
...
lib/python/OFS/rolesForm.dtml
View file @
abc25a07
...
...
@@ -5,8 +5,6 @@
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<!--#var manage_tabs-->
<H2>Access Control</H2>
<P>
You may restrict access to <EM><!--#var title--></EM> using the form
below. To add or remove roles, select or deselect
the desired role names and click "Change".
...
...
lib/python/OFS/sessionEdit.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Edit
Session
</TITLE>
<TITLE>Edit</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Edit Session</H2>
<FORM ACTION="manage_edit" METHOD="POST">
<TABLE CELLSPACING="2">
<TR>
...
...
lib/python/Products/OFSP/DraftFolder.py
View file @
abc25a07
...
...
@@ -14,8 +14,8 @@ Provide an area where people can work without others seeing their changes.
A Draft folder is a surrogate for a folder. It get
\
'
s subobjects by
gettingthem from a session copy of a base folder.
$Id: DraftFolder.py,v 1.
3 1997/12/05 20:33:0
2 brian Exp $'''
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
$Id: DraftFolder.py,v 1.
4 1997/12/12 21:49:4
2 brian Exp $'''
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
import
time
,
SimpleItem
,
AccessControl
.
Role
,
Persistence
,
Acquisition
,
Globals
import
AccessControl.User
,
Session
...
...
@@ -38,7 +38,7 @@ def hack(self):
{
'icon'
:
'OFS/Properties_icon.gif'
,
'label'
:
'Properties'
,
'action'
:
'manage_propertiesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'
Access Control
'
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
...
...
@@ -62,7 +62,7 @@ class DraftFolder(Persistence.Persistent,
'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
'
,
{
'icon'
:
'AccessControl/AccessControl_icon.gif'
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/undo_icon.gif'
,
'label'
:
'Undo'
,
'action'
:
'manage_UndoForm'
,
'target'
:
'manage_main'
},
...
...
@@ -210,6 +210,9 @@ class Supervisor(AccessControl.User.UserFolder, Session.Session):
##############################################################################
#
# $Log: DraftFolder.py,v $
# Revision 1.4 1997/12/12 21:49:42 brian
# ui update
#
# Revision 1.3 1997/12/05 20:33:02 brian
# *** empty log message ***
#
...
...
lib/python/Products/OFSP/Session.py
View file @
abc25a07
...
...
@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session.
$Id: Session.py,v 1.
5 1997/12/05 17:13:51
brian Exp $'''
$Id: Session.py,v 1.
6 1997/12/12 21:49:44
brian Exp $'''
import
time
,
SimpleItem
,
AccessControl
.
Role
,
Persistence
,
Acquisition
,
Globals
from
string
import
rfind
...
...
@@ -54,7 +54,7 @@ class Session(Persistence.Persistent,
{
'icon'
:
''
,
'label'
:
'Join/Leave'
,
'action'
:
'index_html'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'
Access Control
'
,
{
'icon'
:
''
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Undo'
,
...
...
@@ -123,7 +123,7 @@ class Session(Persistence.Persistent,
def
nonempty
(
self
):
return
Globals
.
SessionBase
[
self
.
cookie
].
nonempty
()
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
...
...
@@ -131,6 +131,9 @@ __version__='$Revision: 1.5 $'[11:-2]
##############################################################################
#
# $Log: Session.py,v $
# Revision 1.6 1997/12/12 21:49:44 brian
# ui update
#
# Revision 1.5 1997/12/05 17:13:51 brian
# New UI
#
...
...
lib/python/Products/OFSP/Version.py
View file @
abc25a07
...
...
@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session.
$Id: Version.py,v 1.
5 1997/12/05 17:13:51
brian Exp $'''
$Id: Version.py,v 1.
6 1997/12/12 21:49:44
brian Exp $'''
import
time
,
SimpleItem
,
AccessControl
.
Role
,
Persistence
,
Acquisition
,
Globals
from
string
import
rfind
...
...
@@ -54,7 +54,7 @@ class Session(Persistence.Persistent,
{
'icon'
:
''
,
'label'
:
'Join/Leave'
,
'action'
:
'index_html'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'
Access Control
'
,
{
'icon'
:
''
,
'label'
:
'
Security
'
,
'action'
:
'manage_rolesForm'
,
'target'
:
'manage_main'
,
},
{
'icon'
:
''
,
'label'
:
'Undo'
,
...
...
@@ -123,7 +123,7 @@ class Session(Persistence.Persistent,
def
nonempty
(
self
):
return
Globals
.
SessionBase
[
self
.
cookie
].
nonempty
()
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
...
...
@@ -131,6 +131,9 @@ __version__='$Revision: 1.5 $'[11:-2]
##############################################################################
#
# $Log: Version.py,v $
# Revision 1.6 1997/12/12 21:49:44 brian
# ui update
#
# Revision 1.5 1997/12/05 17:13:51 brian
# New UI
#
...
...
lib/python/Products/OFSP/sessionEdit.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Edit
Session
</TITLE>
<TITLE>Edit</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Edit Session</H2>
<FORM ACTION="manage_edit" METHOD="POST">
<TABLE CELLSPACING="2">
<TR>
...
...
lib/python/Products/OFSP/versionEdit.dtml
View file @
abc25a07
<HTML>
<HEAD>
<TITLE>Edit
Session
</TITLE>
<TITLE>Edit</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2>Edit Session</H2>
<FORM ACTION="manage_edit" METHOD="POST">
<TABLE CELLSPACING="2">
<TR>
...
...
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