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