Commit abc25a07 authored by 's avatar

ui update

parent ec6aa794
...@@ -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.
......
<!--#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>
<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">
&copy Digital Creations
</A>
</STRONG>
</TD>
</TR>
<TR> <TR>
<TD WIDTH="16"></TD> <TD WIDTH="16"></TD>
<TD VALIGN="TOP" NOWRAP> <TD VALIGN="TOP" NOWRAP>
......
...@@ -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 &quot;snapshot&quot; of it's state at a previous point in time. to a &quot;snapshot&quot; of it's state at a previous point in time.
<P>
Select one or more transactions below and then click on the &quot;Undo&quot; Select one or more transactions below and then click on the &quot;Undo&quot;
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
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.23 1997/12/05 20:33:02 brian Exp $''' $Id: Application.py,v 1.24 1997/12/12 21:49:41 brian Exp $'''
__version__='$Revision: 1.23 $'[11:-2] __version__='$Revision: 1.24 $'[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 ***
# #
......
"""Document object""" """Document object"""
__version__='$Revision: 1.27 $'[11:-2] __version__='$Revision: 1.28 $'[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',
......
...@@ -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:02 brian Exp $''' $Id: DraftFolder.py,v 1.4 1997/12/12 21:49:42 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 ***
# #
......
"""Folder object """Folder object
$Id: Folder.py,v 1.22 1997/12/05 17:13:49 brian Exp $""" $Id: Folder.py,v 1.23 1997/12/12 21:49:43 brian Exp $"""
__version__='$Revision: 1.22 $'[11:-2] __version__='$Revision: 1.23 $'[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',
......
"""Image object""" """Image object"""
__version__='$Revision: 1.13 $'[11:-2] __version__='$Revision: 1.14 $'[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',
......
...@@ -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
# #
......
...@@ -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
# #
......
<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>
......
<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.
......
<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>
......
<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.
......
<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">
......
<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>
......
...@@ -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 &quot;Change&quot;. the desired role names and click &quot;Change&quot;.
......
<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>
......
...@@ -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:02 brian Exp $''' $Id: DraftFolder.py,v 1.4 1997/12/12 21:49:42 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 ***
# #
......
...@@ -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
# #
......
...@@ -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
# #
......
<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>
......
<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>
......
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