Commit 82bb42ef authored by Ken Manheimer's avatar Ken Manheimer

Committing with version 1.0 of the license.

parent bbc3502d
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.7 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
static char BTree_module_documentation[] = static char BTree_module_documentation[] =
"" ""
"\n$Id: BTree.c,v 1.18 1999/02/08 19:02:33 jim Exp $" "\n$Id: BTree.c,v 1.19 1999/03/10 00:14:35 klm Exp $"
; ;
#define PERSISTENT #define PERSISTENT
...@@ -1836,7 +1836,7 @@ initBTree() ...@@ -1836,7 +1836,7 @@ initBTree()
#endif #endif
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.18 $"; char *rev="$Revision: 1.19 $";
UNLESS(PyExtensionClassCAPI=PyCObject_Import("ExtensionClass","CAPI")) UNLESS(PyExtensionClassCAPI=PyCObject_Import("ExtensionClass","CAPI"))
return; return;
...@@ -1888,6 +1888,9 @@ initBTree() ...@@ -1888,6 +1888,9 @@ initBTree()
Revision Log: Revision Log:
$Log: BTree.c,v $ $Log: BTree.c,v $
Revision 1.19 1999/03/10 00:14:35 klm
Committing with version 1.0 of the license.
Revision 1.18 1999/02/08 19:02:33 jim Revision 1.18 1999/02/08 19:02:33 jim
updated copyright updated copyright
......
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.7 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
...@@ -82,11 +82,11 @@ ...@@ -82,11 +82,11 @@
attributions are listed in the accompanying credits file. attributions are listed in the accompanying credits file.
****************************************************************************/ ****************************************************************************/
/* $Id: IIBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $ */ /* $Id: IIBTree.c,v 1.6 1999/03/10 00:14:35 klm Exp $ */
#define INTKEY int #define INTKEY int
#define INTVAL int #define INTVAL int
static char *needed_to_make_release_happy="$Id: IIBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $"; static char *needed_to_make_release_happy="$Id: IIBTree.c,v 1.6 1999/03/10 00:14:35 klm Exp $";
#include "BTree.c" #include "BTree.c"
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.7 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
...@@ -82,10 +82,10 @@ ...@@ -82,10 +82,10 @@
attributions are listed in the accompanying credits file. attributions are listed in the accompanying credits file.
****************************************************************************/ ****************************************************************************/
/* $Id: IOBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $ */ /* $Id: IOBTree.c,v 1.6 1999/03/10 00:14:35 klm Exp $ */
static char *needed_to_make_release_happy= static char *needed_to_make_release_happy=
"$Id: IOBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $"; "$Id: IOBTree.c,v 1.6 1999/03/10 00:14:35 klm Exp $";
#define INTKEY int #define INTKEY int
#include "BTree.c" #include "BTree.c"
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.7 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
...@@ -82,10 +82,10 @@ ...@@ -82,10 +82,10 @@
attributions are listed in the accompanying credits file. attributions are listed in the accompanying credits file.
****************************************************************************/ ****************************************************************************/
/* $Id: OIBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $ */ /* $Id: OIBTree.c,v 1.6 1999/03/10 00:14:35 klm Exp $ */
static char *needed_to_make_release_happy= static char *needed_to_make_release_happy=
"$Id: OIBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $"; "$Id: OIBTree.c,v 1.6 1999/03/10 00:14:35 klm Exp $";
#define INTVAL int #define INTVAL int
#include "BTree.c" #include "BTree.c"
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.7 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
static char intSet_module_documentation[] = static char intSet_module_documentation[] =
"" ""
"\n$Id: intSet.c,v 1.11 1999/02/08 19:02:34 jim Exp $" "\n$Id: intSet.c,v 1.12 1999/03/10 00:14:35 klm Exp $"
; ;
#include <limits.h> #include <limits.h>
...@@ -612,7 +612,7 @@ void ...@@ -612,7 +612,7 @@ void
initintSet() initintSet()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.11 $"; char *rev="$Revision: 1.12 $";
UNLESS(ExtensionClassImported) return; UNLESS(ExtensionClassImported) return;
...@@ -648,6 +648,9 @@ initintSet() ...@@ -648,6 +648,9 @@ initintSet()
Revision Log: Revision Log:
$Log: intSet.c,v $ $Log: intSet.c,v $
Revision 1.12 1999/03/10 00:14:35 klm
Committing with version 1.0 of the license.
Revision 1.11 1999/02/08 19:02:34 jim Revision 1.11 1999/02/08 19:02:34 jim
updated copyright updated copyright
......
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.4 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
Redistribution and use in source and binary forms, with or This license has been certified as Open Source(tm).
without modification, are permitted provided that the following
conditions are met:
1. Redistributions in source code must retain the above Redistribution and use in source and binary forms, with or without
copyright notice, this list of conditions, and the following modification, are permitted provided that the following conditions are
disclaimer. met:
2. Redistributions in binary form must reproduce the above 1. Redistributions in source code must retain the above copyright
copyright notice, this list of conditions, and the following notice, this list of conditions, and the following disclaimer.
disclaimer in the documentation and/or other materials
provided with the distribution.
3. Any use, including use of the Zope software to operate a 2. Redistributions in binary form must reproduce the above copyright
website, must either comply with the terms described below notice, this list of conditions, and the following disclaimer in
under "Attribution" or alternatively secure a separate the documentation and/or other materials provided with the
license from Digital Creations. distribution.
4. All advertising materials, documentation, or technical papers 3. Digital Creations requests that attribution be given to Zope
mentioning features derived from or use of this software must in any manner possible. Zope includes a "Powered by Zope"
display the following acknowledgement: button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
"This product includes software developed by Digital 4. All advertising materials and documentation mentioning
Creations for use in the Z Object Publishing Environment features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)." (http://www.zope.org/)."
5. Names associated with Zope or Digital Creations must not be In the event that the product being advertised includes an
used to endorse or promote products derived from this intact Zope distribution (with copyright and license included)
software without prior written permission from Digital then this clause is waived.
Creations.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Redistributions of any form whatsoever must retain the 6. Modified redistributions of any form whatsoever must retain
following acknowledgment: the following acknowledgment:
"This product includes software developed by Digital "This product includes software developed by Digital Creations
Creations for use in the Z Object Publishing Environment for use in the Z Object Publishing Environment
(http://www.zope.org/)." (http://www.zope.org/)."
7. Modifications are encouraged but must be packaged separately Intact (re-)distributions of any official Zope release do not
as patches to official Zope releases. Distributions that do require an external acknowledgement.
not clearly separate the patches from the original work must
be clearly labeled as unofficial distributions. 7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF SUCH DAMAGE.
THE POSSIBILITY OF SUCH DAMAGE.
Attribution This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
Individuals or organizations using this software as a web site attributions are listed in the accompanying credits file.
must provide attribution by placing the accompanying "button"
and a link to the accompanying "credits page" on the website's
main entry point. In cases where this placement of
attribution is not feasible, a separate arrangment must be
concluded with Digital Creations. Those using the software
for purposes other than web sites must provide a corresponding
attribution in locations that include a copyright using a
manner best suited to the application environment.
This software consists of contributions made by Digital
Creations and many individuals on behalf of Digital Creations.
Specific attributions are listed in the accompanying credits
file.
****************************************************************************/ ****************************************************************************/
static char Record_module_documentation[] = static char Record_module_documentation[] =
"" ""
"\n$Id: Record.c,v 1.5 1998/12/04 20:15:24 jim Exp $" "\n$Id: Record.c,v 1.6 1999/03/10 00:14:41 klm Exp $"
; ;
#ifdef PERSISTENCE #ifdef PERSISTENCE
...@@ -586,7 +586,7 @@ void ...@@ -586,7 +586,7 @@ void
initRecord() initRecord()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.5 $"; char *rev="$Revision: 1.6 $";
UNLESS(py___record_schema__=PyString_FromString("__record_schema__")) return; UNLESS(py___record_schema__=PyString_FromString("__record_schema__")) return;
...@@ -625,6 +625,9 @@ initRecord() ...@@ -625,6 +625,9 @@ initRecord()
Revision Log: Revision Log:
$Log: Record.c,v $ $Log: Record.c,v $
Revision 1.6 1999/03/10 00:14:41 klm
Committing with version 1.0 of the license.
Revision 1.5 1998/12/04 20:15:24 jim Revision 1.5 1998/12/04 20:15:24 jim
Detabification and new copyright. Detabification and new copyright.
......
/***************************************************************************** /*****************************************************************************
Zope Public License (ZPL) Version 0.9.4 Zope Public License (ZPL) Version 1.0
--------------------------------------- -------------------------------------
Copyright (c) Digital Creations. All rights reserved. Copyright (c) Digital Creations. All rights reserved.
Redistribution and use in source and binary forms, with or This license has been certified as Open Source(tm).
without modification, are permitted provided that the following
conditions are met:
1. Redistributions in source code must retain the above Redistribution and use in source and binary forms, with or without
copyright notice, this list of conditions, and the following modification, are permitted provided that the following conditions are
disclaimer. met:
2. Redistributions in binary form must reproduce the above 1. Redistributions in source code must retain the above copyright
copyright notice, this list of conditions, and the following notice, this list of conditions, and the following disclaimer.
disclaimer in the documentation and/or other materials
provided with the distribution.
3. Any use, including use of the Zope software to operate a 2. Redistributions in binary form must reproduce the above copyright
website, must either comply with the terms described below notice, this list of conditions, and the following disclaimer in
under "Attribution" or alternatively secure a separate the documentation and/or other materials provided with the
license from Digital Creations. distribution.
4. All advertising materials, documentation, or technical papers 3. Digital Creations requests that attribution be given to Zope
mentioning features derived from or use of this software must in any manner possible. Zope includes a "Powered by Zope"
display the following acknowledgement: button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
"This product includes software developed by Digital 4. All advertising materials and documentation mentioning
Creations for use in the Z Object Publishing Environment features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)." (http://www.zope.org/)."
5. Names associated with Zope or Digital Creations must not be In the event that the product being advertised includes an
used to endorse or promote products derived from this intact Zope distribution (with copyright and license included)
software without prior written permission from Digital then this clause is waived.
Creations.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Redistributions of any form whatsoever must retain the 6. Modified redistributions of any form whatsoever must retain
following acknowledgment: the following acknowledgment:
"This product includes software developed by Digital "This product includes software developed by Digital Creations
Creations for use in the Z Object Publishing Environment for use in the Z Object Publishing Environment
(http://www.zope.org/)." (http://www.zope.org/)."
7. Modifications are encouraged but must be packaged separately Intact (re-)distributions of any official Zope release do not
as patches to official Zope releases. Distributions that do require an external acknowledgement.
not clearly separate the patches from the original work must
be clearly labeled as unofficial distributions. 7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF SUCH DAMAGE.
THE POSSIBILITY OF SUCH DAMAGE.
Attribution This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
Individuals or organizations using this software as a web site attributions are listed in the accompanying credits file.
must provide attribution by placing the accompanying "button"
and a link to the accompanying "credits page" on the website's
main entry point. In cases where this placement of
attribution is not feasible, a separate arrangment must be
concluded with Digital Creations. Those using the software
for purposes other than web sites must provide a corresponding
attribution in locations that include a copyright using a
manner best suited to the application environment.
This software consists of contributions made by Digital
Creations and many individuals on behalf of Digital Creations.
Specific attributions are listed in the accompanying credits
file.
****************************************************************************/ ****************************************************************************/
static char Record_module_documentation[] = static char Record_module_documentation[] =
"" ""
"\n$Id: Record.c,v 1.5 1998/12/04 20:15:24 jim Exp $" "\n$Id: Record.c,v 1.6 1999/03/10 00:14:41 klm Exp $"
; ;
#ifdef PERSISTENCE #ifdef PERSISTENCE
...@@ -586,7 +586,7 @@ void ...@@ -586,7 +586,7 @@ void
initRecord() initRecord()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.5 $"; char *rev="$Revision: 1.6 $";
UNLESS(py___record_schema__=PyString_FromString("__record_schema__")) return; UNLESS(py___record_schema__=PyString_FromString("__record_schema__")) return;
...@@ -625,6 +625,9 @@ initRecord() ...@@ -625,6 +625,9 @@ initRecord()
Revision Log: Revision Log:
$Log: Record.c,v $ $Log: Record.c,v $
Revision 1.6 1999/03/10 00:14:41 klm
Committing with version 1.0 of the license.
Revision 1.5 1998/12/04 20:15:24 jim Revision 1.5 1998/12/04 20:15:24 jim
Detabification and new copyright. Detabification and new copyright.
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''short description __doc__='''short description
$Id: Permission.py,v 1.3 1998/12/04 20:15:25 jim Exp $''' $Id: Permission.py,v 1.4 1999/03/10 00:14:49 klm Exp $'''
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
from Globals import HTMLFile, MessageDialog from Globals import HTMLFile, MessageDialog
from string import join, strip, split, find from string import join, strip, split, find
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Objects that implement Permission-based roles. __doc__='''Objects that implement Permission-based roles.
$Id: PermissionRole.py,v 1.2 1998/12/04 20:15:25 jim Exp $''' $Id: PermissionRole.py,v 1.3 1999/03/10 00:14:49 klm Exp $'''
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import sys import sys
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
"""Access control support""" """Access control support"""
__version__='$Revision: 1.21 $'[11:-2] __version__='$Revision: 1.22 $'[11:-2]
from Globals import HTMLFile, MessageDialog from Globals import HTMLFile, MessageDialog
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
"""Access control package""" """Access control package"""
__version__='$Revision: 1.64 $'[11:-2] __version__='$Revision: 1.65 $'[11:-2]
import Globals, App.Undo, socket, regex import Globals, App.Undo, socket, regex
from Globals import HTMLFile, MessageDialog, Persistent, PersistentMapping from Globals import HTMLFile, MessageDialog, Persistent, PersistentMapping
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
__doc__="""System management components""" __doc__="""System management components"""
__version__='$Revision: 1.39 $'[11:-2] __version__='$Revision: 1.40 $'[11:-2]
import sys,os,time,string,Globals, Acquisition import sys,os,time,string,Globals, Acquisition
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Cache management support __doc__='''Cache management support
$Id: CacheManager.py,v 1.10 1998/12/18 22:03:09 jim Exp $''' $Id: CacheManager.py,v 1.11 1999/03/10 00:14:55 klm Exp $'''
__version__='$Revision: 1.10 $'[11:-2] __version__='$Revision: 1.11 $'[11:-2]
import Globals, time, sys import Globals, time, sys
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
target='_top') target='_top')
</PRE>""" </PRE>"""
__version__='$Revision: 1.4 $'[11:-2] __version__='$Revision: 1.5 $'[11:-2]
from Globals import HTML from Globals import HTML
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Standard routines for handling Principia Extensions __doc__='''Standard routines for handling Principia Extensions
Principia extensions currently include external methods and pluggable brains. Principia extensions currently include external methods and pluggable brains.
$Id: Extensions.py,v 1.7 1999/03/09 14:57:15 jim Exp $''' $Id: Extensions.py,v 1.8 1999/03/10 00:14:56 klm Exp $'''
__version__='$Revision: 1.7 $'[11:-2] __version__='$Revision: 1.8 $'[11:-2]
from string import find from string import find
import os, zlib, rotor import os, zlib, rotor
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Principia Factories __doc__='''Principia Factories
$Id: Factory.py,v 1.5 1999/02/22 21:48:46 jim Exp $''' $Id: Factory.py,v 1.6 1999/03/10 00:14:56 klm Exp $'''
__version__='$Revision: 1.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
import OFS.SimpleItem, Acquisition, Globals import OFS.SimpleItem, Acquisition, Globals
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
"""Standard management interface support """Standard management interface support
$Id: Management.py,v 1.14 1998/12/04 20:15:25 jim Exp $""" $Id: Management.py,v 1.15 1999/03/10 00:14:56 klm Exp $"""
__version__='$Revision: 1.14 $'[11:-2] __version__='$Revision: 1.15 $'[11:-2]
import sys, Globals import sys, Globals
from Dialogs import MessageDialog from Dialogs import MessageDialog
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
"""Principia Product Objects """Principia Product Objects
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''short description __doc__='''short description
$Id: Undo.py,v 1.10 1998/12/04 20:15:25 jim Exp $''' $Id: Undo.py,v 1.11 1999/03/10 00:14:56 klm Exp $'''
__version__='$Revision: 1.10 $'[11:-2] __version__='$Revision: 1.11 $'[11:-2]
import Globals import Globals
from DateTime import DateTime from DateTime import DateTime
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Simple module for writing tar files __doc__='''Simple module for writing tar files
$Id: tar.py,v 1.2 1998/12/04 20:15:25 jim Exp $''' $Id: tar.py,v 1.3 1999/03/10 00:14:56 klm Exp $'''
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import sys, time, zlib import sys, time, zlib
try: try:
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
"""Encapsulation of date/time values""" """Encapsulation of date/time values"""
__version__='$Revision: 1.23 $'[11:-2] __version__='$Revision: 1.24 $'[11:-2]
import sys,os,regex,DateTimeZone import sys,os,regex,DateTimeZone
......
This diff is collapsed.
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
from DateTime import DateTime from DateTime import DateTime
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
"""HTML formated DocumentTemplates """HTML formated DocumentTemplates
$Id: DT_HTML.py,v 1.14 1998/12/04 20:15:27 jim Exp $""" $Id: DT_HTML.py,v 1.15 1999/03/10 00:15:07 klm Exp $"""
from DT_String import String, FileMixin from DT_String import String, FileMixin
import DT_String, regex import DT_String, regex
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Conditional insertion __doc__='''Conditional insertion
...@@ -147,8 +147,8 @@ __doc__='''Conditional insertion ...@@ -147,8 +147,8 @@ __doc__='''Conditional insertion
variable is not reevaluated. variable is not reevaluated.
''' '''
__rcs_id__='$Id: DT_If.py,v 1.15 1998/12/04 20:15:27 jim Exp $' __rcs_id__='$Id: DT_If.py,v 1.16 1999/03/10 00:15:07 klm Exp $'
__version__='$Revision: 1.15 $'[11:-2] __version__='$Revision: 1.16 $'[11:-2]
from DT_Util import ParseError, parse_params, name_param, str from DT_Util import ParseError, parse_params, name_param, str
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
'''Sequence insertion '''Sequence insertion
...@@ -379,8 +379,8 @@ ...@@ -379,8 +379,8 @@
''' #' ''' #'
__rcs_id__='$Id: DT_In.py,v 1.32 1998/12/04 20:15:27 jim Exp $' __rcs_id__='$Id: DT_In.py,v 1.33 1999/03/10 00:15:07 klm Exp $'
__version__='$Revision: 1.32 $'[11:-2] __version__='$Revision: 1.33 $'[11:-2]
from DT_Util import ParseError, parse_params, name_param, str from DT_Util import ParseError, parse_params, name_param, str
from DT_Util import render_blocks, InstanceDict from DT_Util import render_blocks, InstanceDict
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
__doc__='''Sequence variables support __doc__='''Sequence variables support
$Id: DT_InSV.py,v 1.9 1998/12/04 20:15:28 jim Exp $''' $Id: DT_InSV.py,v 1.10 1999/03/10 00:15:07 klm Exp $'''
__version__='$Revision: 1.9 $'[11:-2] __version__='$Revision: 1.10 $'[11:-2]
from string import lower, rfind from string import lower, rfind
from math import sqrt from math import sqrt
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
'''Raising exceptions '''Raising exceptions
...@@ -95,8 +95,8 @@ ...@@ -95,8 +95,8 @@
<!--#/if--> <!--#/if-->
''' '''
__rcs_id__='$Id: DT_Raise.py,v 1.10 1998/12/04 20:15:28 jim Exp $' __rcs_id__='$Id: DT_Raise.py,v 1.11 1999/03/10 00:15:07 klm Exp $'
__version__='$Revision: 1.10 $'[11:-2] __version__='$Revision: 1.11 $'[11:-2]
from DT_Util import parse_params, name_param, render_blocks, str from DT_Util import parse_params, name_param, render_blocks, str
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
"$Id: DT_String.py,v 1.21 1999/02/08 17:46:37 brian Exp $" "$Id: DT_String.py,v 1.22 1999/03/10 00:15:07 klm Exp $"
from string import split, strip from string import split, strip
import regex, ts_regex import regex, ts_regex
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must #
# be clearly labeled as unofficial distributions. # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
# #
# Disclaimer # Disclaimer
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # SUCH DAMAGE.
# THE POSSIBILITY OF SUCH DAMAGE. #
# #
# Attribution # This software consists of contributions made by Digital Creations and
# # many individuals on behalf of Digital Creations. Specific
# Individuals or organizations using this software as a web site # attributions are listed in the accompanying credits file.
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
# This software consists of contributions made by Digital
# Creations and many individuals on behalf of Digital Creations.
# Specific attributions are listed in the accompanying credits
# file.
# #
############################################################################## ##############################################################################
__doc__='''Machinery to support through-the-web editing __doc__='''Machinery to support through-the-web editing
$Id: DT_UI.py,v 1.8 1998/12/04 20:15:28 jim Exp $''' $Id: DT_UI.py,v 1.9 1999/03/10 00:15:07 klm Exp $'''
__version__='$Revision: 1.8 $'[11:-2] __version__='$Revision: 1.9 $'[11:-2]
from DT_HTML import HTML from DT_HTML import HTML
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
'''$Id: DT_Util.py,v 1.50 1999/01/06 22:27:36 jim Exp $''' '''$Id: DT_Util.py,v 1.51 1999/03/10 00:15:07 klm Exp $'''
__version__='$Revision: 1.50 $'[11:-2] __version__='$Revision: 1.51 $'[11:-2]
import regex, string, math, os import regex, string, math, os
from string import strip, join, atoi, lower, split, find from string import strip, join, atoi, lower, split, find
......
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.4 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or # This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
# #
# 1. Redistributions in source code must retain the above # Redistribution and use in source and binary forms, with or without
# copyright notice, this list of conditions, and the following # modification, are permitted provided that the following conditions are
# disclaimer. # met:
# #
# 2. Redistributions in binary form must reproduce the above # 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following # notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
# #
# 3. Any use, including use of the Zope software to operate a # 2. Redistributions in binary form must reproduce the above copyright
# website, must either comply with the terms described below # notice, this list of conditions, and the following disclaimer in
# under "Attribution" or alternatively secure a separate # the documentation and/or other materials provided with the
# license from Digital Creations. # distribution.
# #
# 4. All advertising materials, documentation, or technical papers # 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must # in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement: # button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# "This product includes software developed by Digital # 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment # features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 5. Names associated with Zope or Digital Creations must not be # In the event that the product being advertised includes an
# used to endorse or promote products derived from this # intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital # then this clause is waived.
# Creations. #
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
# #
# 6. Redistributions of any form whatsoever must retain the # 6. Modified redistributions of any form whatsoever must retain
# following acknowledgment: # the following acknowledgment:
# #
# "This product includes software developed by Digital # "This product includes software developed by Digital Creations
# Creations for use in the Z Object Publishing Environment # for use in the Z Object Publishing Environment
# (http://www.zope.org/)." # (http://www.zope.org/)."
# #
# 7. Modifications are encouraged but must be packaged separately # Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do # require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
# #
# Disclaimer # 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
# #
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
# #
# Attribution # Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# #
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
# #
# This software consists of contributions made by Digital # This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations. # many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits # attributions are listed in the accompanying credits file.
# file.
# #
############################################################################## ##############################################################################
__doc__='''Variable insertion parameters __doc__='''Variable insertion parameters
...@@ -195,8 +195,8 @@ Evaluating expressions without rendering results ...@@ -195,8 +195,8 @@ Evaluating expressions without rendering results
''' # ' ''' # '
__rcs_id__='$Id: DT_Var.py,v 1.27 1998/12/04 20:15:28 jim Exp $' __rcs_id__='$Id: DT_Var.py,v 1.28 1999/03/10 00:15:08 klm Exp $'
__version__='$Revision: 1.27 $'[11:-2] __version__='$Revision: 1.28 $'[11:-2]
from DT_Util import parse_params, name_param, html_quote, str from DT_Util import parse_params, name_param, html_quote, str
import regex, string, sys, regex import regex, string, sys, regex
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
############################################################################## ##############################################################################
# #
# Zope Public License (ZPL) Version 0.9.6 # Zope Public License (ZPL) Version 1.0
# --------------------------------------- # -------------------------------------
# #
# Copyright (c) Digital Creations. All rights reserved. # Copyright (c) Digital Creations. All rights reserved.
# #
# This license has been certified as Open Source(tm).
#
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # modification, are permitted provided that the following conditions are
# met: # met:
...@@ -17,12 +19,13 @@ ...@@ -17,12 +19,13 @@
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# #
# 3. Any use, including use of the Zope software to operate a website, # 3. Digital Creations requests that attribution be given to Zope
# must either comply with the terms described below under # in any manner possible. Zope includes a "Powered by Zope"
# "Attribution" or alternatively secure a separate license from # button that is installed by default. While it is not a license
# Digital Creations. Digital Creations will not unreasonably # violation to remove this button, it is requested that the
# deny such a separate license in the event that the request # attribution remain. A significant investment has been put
# explains in detail a valid reason for withholding attribution. # into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
# #
# 4. All advertising materials and documentation mentioning # 4. All advertising materials and documentation mentioning
# features derived from or use of this software must display # features derived from or use of this software must display
...@@ -73,27 +76,6 @@ ...@@ -73,27 +76,6 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# Attribution
#
# Individuals or organizations using this software as a web
# site ("the web site") must provide attribution by placing
# the accompanying "button" on the website's main entry
# point. By default, the button links to a "credits page"
# on the Digital Creations' web site. The "credits page" may
# be copied to "the web site" in order to add other credits,
# or keep users "on site". In that case, the "button" link
# may be updated to point to the "on site" "credits page".
# In cases where this placement of attribution is not
# feasible, a separate arrangment must be concluded with
# Digital Creations. Those using the software for purposes
# other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment. Where
# attribution is not possible, or is considered to be
# onerous for some other reason, a request should be made to
# Digital Creations to waive this requirement in writing.
# As stated above, for valid requests, Digital Creations
# will not unreasonably deny such requests.
# #
# This software consists of contributions made by Digital Creations and # This software consists of contributions made by Digital Creations and
# many individuals on behalf of Digital Creations. Specific # many individuals on behalf of Digital Creations. Specific
...@@ -102,7 +84,7 @@ ...@@ -102,7 +84,7 @@
############################################################################## ##############################################################################
"""DTML Document objects.""" """DTML Document objects."""
__version__='$Revision: 1.10 $'[11:-2] __version__='$Revision: 1.11 $'[11:-2]
from DocumentTemplate.DT_Util import InstanceDict, TemplateDict from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
from ZPublisher.Converters import type_converters from ZPublisher.Converters import type_converters
from Globals import HTML, HTMLFile, MessageDialog from Globals import HTML, HTMLFile, MessageDialog
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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