Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
4a71358e
Commit
4a71358e
authored
Jan 11, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed things which used HTMLFile to use DTMLFile.
parent
a73e46eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+4
-4
lib/python/OFS/PropertyManager.py
lib/python/OFS/PropertyManager.py
+4
-4
lib/python/OFS/PropertySheets.py
lib/python/OFS/PropertySheets.py
+4
-4
No files found.
lib/python/OFS/ObjectManager.py
View file @
4a71358e
...
@@ -84,14 +84,14 @@
...
@@ -84,14 +84,14 @@
##############################################################################
##############################################################################
__doc__
=
"""Object Manager
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.12
0 2001/01/09 23:54:03 evan
Exp $"""
$Id: ObjectManager.py,v 1.12
1 2001/01/11 21:29:41 chrism
Exp $"""
__version__
=
'$Revision: 1.12
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.12
1
$'
[
11
:
-
2
]
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
os
,
App
.
FactoryDispatcher
,
ts_regex
,
Products
import
os
,
App
.
FactoryDispatcher
,
ts_regex
,
Products
from
OFS.Traversable
import
Traversable
from
OFS.Traversable
import
Traversable
from
Globals
import
HTMLFile
,
Persistent
,
DTMLFile
from
Globals
import
DTMLFile
,
Persistent
from
Globals
import
MessageDialog
,
default__class_init__
from
Globals
import
MessageDialog
,
default__class_init__
from
webdav.NullResource
import
NullResource
from
webdav.NullResource
import
NullResource
from
webdav.Collection
import
Collection
from
webdav.Collection
import
Collection
...
@@ -520,7 +520,7 @@ class ObjectManager(
...
@@ -520,7 +520,7 @@ class ObjectManager(
exported to <pre>%s</pre>."
%
(
id
,
f
),
exported to <pre>%s</pre>."
%
(
id
,
f
),
action
=
"manage_main"
)
action
=
"manage_main"
)
manage_importExportForm
=
H
TMLFile
(
'dtml/importExport'
,
globals
())
manage_importExportForm
=
D
TMLFile
(
'dtml/importExport'
,
globals
())
def
manage_importObject
(
self
,
file
,
REQUEST
=
None
,
set_owner
=
1
):
def
manage_importObject
(
self
,
file
,
REQUEST
=
None
,
set_owner
=
1
):
"""Import an object from a file"""
"""Import an object from a file"""
...
...
lib/python/OFS/PropertyManager.py
View file @
4a71358e
...
@@ -84,13 +84,13 @@
...
@@ -84,13 +84,13 @@
##############################################################################
##############################################################################
"""Property management"""
"""Property management"""
__version__
=
'$Revision: 1.3
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
import
ExtensionClass
,
Globals
import
ExtensionClass
,
Globals
import
ZDOM
import
ZDOM
from
PropertySheets
import
DefaultPropertySheets
,
vps
from
PropertySheets
import
DefaultPropertySheets
,
vps
from
ZPublisher.Converters
import
type_converters
from
ZPublisher.Converters
import
type_converters
from
Globals
import
H
TMLFile
,
MessageDialog
from
Globals
import
D
TMLFile
,
MessageDialog
from
string
import
find
,
join
,
lower
,
split
from
string
import
find
,
join
,
lower
,
split
from
DocumentTemplate
import
html_quote
from
DocumentTemplate
import
html_quote
from
Acquisition
import
Implicit
,
aq_base
from
Acquisition
import
Implicit
,
aq_base
...
@@ -167,9 +167,9 @@ class PropertyManager(ExtensionClass.Base, ZDOM.ElementWithAttributes):
...
@@ -167,9 +167,9 @@ class PropertyManager(ExtensionClass.Base, ZDOM.ElementWithAttributes):
'help'
:(
'OFSP'
,
'Properties.stx'
)},
'help'
:(
'OFSP'
,
'Properties.stx'
)},
)
)
manage_propertiesForm
=
H
TMLFile
(
'dtml/properties'
,
globals
(),
manage_propertiesForm
=
D
TMLFile
(
'dtml/properties'
,
globals
(),
property_extensible_schema__
=
1
)
property_extensible_schema__
=
1
)
manage_propertyTypeForm
=
H
TMLFile
(
'dtml/propertyType'
,
globals
())
manage_propertyTypeForm
=
D
TMLFile
(
'dtml/propertyType'
,
globals
())
title
=
''
title
=
''
_properties
=
({
'id'
:
'title'
,
'type'
:
'string'
,
'mode'
:
'w'
},)
_properties
=
({
'id'
:
'title'
,
'type'
:
'string'
,
'mode'
:
'w'
},)
...
...
lib/python/OFS/PropertySheets.py
View file @
4a71358e
...
@@ -84,12 +84,12 @@
...
@@ -84,12 +84,12 @@
##############################################################################
##############################################################################
"""Property sheets"""
"""Property sheets"""
__version__
=
'$Revision: 1.6
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.6
3
$'
[
11
:
-
2
]
import
time
,
string
,
App
.
Management
,
Globals
import
time
,
string
,
App
.
Management
,
Globals
from
ZPublisher.Converters
import
type_converters
from
ZPublisher.Converters
import
type_converters
from
DocumentTemplate.DT_Util
import
html_quote
from
DocumentTemplate.DT_Util
import
html_quote
from
Globals
import
H
TMLFile
,
MessageDialog
from
Globals
import
D
TMLFile
,
MessageDialog
from
string
import
find
,
join
,
lower
,
split
,
rfind
from
string
import
find
,
join
,
lower
,
split
,
rfind
from
Acquisition
import
Implicit
,
Explicit
from
Acquisition
import
Implicit
,
Explicit
from
App.Common
import
rfc1123_date
,
iso8601_date
from
App.Common
import
rfc1123_date
,
iso8601_date
...
@@ -444,7 +444,7 @@ class PropertySheet(Traversable, Persistent, Implicit):
...
@@ -444,7 +444,7 @@ class PropertySheet(Traversable, Persistent, Implicit):
# Web interface
# Web interface
manage
=
H
TMLFile
(
'dtml/properties'
,
globals
())
manage
=
D
TMLFile
(
'dtml/properties'
,
globals
())
def
manage_propertiesForm
(
self
,
URL1
):
def
manage_propertiesForm
(
self
,
URL1
):
" "
" "
raise
'Redirect'
,
URL1
+
'/manage'
raise
'Redirect'
,
URL1
+
'/manage'
...
@@ -695,7 +695,7 @@ class PropertySheets(Traversable, Implicit, App.Management.Tabs):
...
@@ -695,7 +695,7 @@ class PropertySheets(Traversable, Implicit, App.Management.Tabs):
# Management interface:
# Management interface:
manage
=
Globals
.
H
TMLFile
(
'dtml/propertysheets'
,
globals
())
manage
=
Globals
.
D
TMLFile
(
'dtml/propertysheets'
,
globals
())
def
manage_options
(
self
):
def
manage_options
(
self
):
"""Return a manage option data structure for me instance
"""Return a manage option data structure for me instance
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment