Commit 4a71358e authored by Chris McDonough's avatar Chris McDonough

Changed things which used HTMLFile to use DTMLFile.

parent a73e46eb
......@@ -84,14 +84,14 @@
##############################################################################
__doc__="""Object Manager
$Id: ObjectManager.py,v 1.120 2001/01/09 23:54:03 evan Exp $"""
$Id: ObjectManager.py,v 1.121 2001/01/11 21:29:41 chrism Exp $"""
__version__='$Revision: 1.120 $'[11:-2]
__version__='$Revision: 1.121 $'[11:-2]
import App.Management, Acquisition, Globals, CopySupport, Products
import os, App.FactoryDispatcher, ts_regex, Products
from OFS.Traversable import Traversable
from Globals import HTMLFile, Persistent, DTMLFile
from Globals import DTMLFile, Persistent
from Globals import MessageDialog, default__class_init__
from webdav.NullResource import NullResource
from webdav.Collection import Collection
......@@ -520,7 +520,7 @@ class ObjectManager(
exported to <pre>%s</pre>." % (id, f),
action="manage_main")
manage_importExportForm=HTMLFile('dtml/importExport',globals())
manage_importExportForm=DTMLFile('dtml/importExport',globals())
def manage_importObject(self, file, REQUEST=None, set_owner=1):
"""Import an object from a file"""
......
......@@ -84,13 +84,13 @@
##############################################################################
"""Property management"""
__version__='$Revision: 1.33 $'[11:-2]
__version__='$Revision: 1.34 $'[11:-2]
import ExtensionClass, Globals
import ZDOM
from PropertySheets import DefaultPropertySheets, vps
from ZPublisher.Converters import type_converters
from Globals import HTMLFile, MessageDialog
from Globals import DTMLFile, MessageDialog
from string import find,join,lower,split
from DocumentTemplate import html_quote
from Acquisition import Implicit, aq_base
......@@ -167,9 +167,9 @@ class PropertyManager(ExtensionClass.Base, ZDOM.ElementWithAttributes):
'help':('OFSP','Properties.stx')},
)
manage_propertiesForm=HTMLFile('dtml/properties', globals(),
manage_propertiesForm=DTMLFile('dtml/properties', globals(),
property_extensible_schema__=1)
manage_propertyTypeForm=HTMLFile('dtml/propertyType', globals())
manage_propertyTypeForm=DTMLFile('dtml/propertyType', globals())
title=''
_properties=({'id':'title', 'type': 'string', 'mode':'w'},)
......
......@@ -84,12 +84,12 @@
##############################################################################
"""Property sheets"""
__version__='$Revision: 1.62 $'[11:-2]
__version__='$Revision: 1.63 $'[11:-2]
import time, string, App.Management, Globals
from ZPublisher.Converters import type_converters
from DocumentTemplate.DT_Util import html_quote
from Globals import HTMLFile, MessageDialog
from Globals import DTMLFile, MessageDialog
from string import find,join,lower,split,rfind
from Acquisition import Implicit, Explicit
from App.Common import rfc1123_date, iso8601_date
......@@ -444,7 +444,7 @@ class PropertySheet(Traversable, Persistent, Implicit):
# Web interface
manage=HTMLFile('dtml/properties', globals())
manage=DTMLFile('dtml/properties', globals())
def manage_propertiesForm(self, URL1):
" "
raise 'Redirect', URL1+'/manage'
......@@ -695,7 +695,7 @@ class PropertySheets(Traversable, Implicit, App.Management.Tabs):
# Management interface:
manage=Globals.HTMLFile('dtml/propertysheets', globals())
manage=Globals.DTMLFile('dtml/propertysheets', globals())
def manage_options(self):
"""Return a manage option data structure for me instance
......
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