Commit 8615bbde authored by Chris McDonough's avatar Chris McDonough

Changed things which use HTMLFile to DTMLFile.

parent cc8a3a2b
......@@ -84,13 +84,13 @@
##############################################################################
__doc__='''Generic Database Connection Support
$Id: Connection.py,v 1.32 2001/01/08 22:47:06 brian Exp $'''
__version__='$Revision: 1.32 $'[11:-2]
$Id: Connection.py,v 1.33 2001/01/12 16:46:50 chrism Exp $'''
__version__='$Revision: 1.33 $'[11:-2]
import Globals, OFS.SimpleItem, AccessControl.Role, Acquisition, sys
from DateTime import DateTime
from App.Dialogs import MessageDialog
from Globals import HTMLFile
from Globals import DTMLFile
from string import find, join, split
from Aqueduct import custom_default_report
from cStringIO import StringIO
......@@ -160,7 +160,7 @@ class Connection(
self.connection_string=connection_string
if check: self.connect(connection_string)
manage_properties=HTMLFile('dtml/connectionEdit', globals())
manage_properties=DTMLFile('dtml/connectionEdit', globals())
def manage_edit(self, title, connection_string, check=None, REQUEST=None):
"""Change connection
"""
......@@ -172,7 +172,7 @@ class Connection(
action ='./manage_main',
)
manage_testForm=HTMLFile('dtml/connectionTestForm', globals())
manage_testForm=DTMLFile('dtml/connectionTestForm', globals())
def manage_test(self, query, REQUEST=None):
"Executes the SQL in parameter 'query' and returns results"
dbc=self() #get our connection
......@@ -206,7 +206,7 @@ class Connection(
return report
manage_main=HTMLFile('dtml/connectionStatus', globals())
manage_main=DTMLFile('dtml/connectionStatus', globals())
def manage_close_connection(self, REQUEST):
" "
......
......@@ -85,14 +85,14 @@
__doc__='''Generic Database adapter
$Id: DA.py,v 1.94 2001/01/08 22:47:06 brian Exp $'''
__version__='$Revision: 1.94 $'[11:-2]
$Id: DA.py,v 1.95 2001/01/12 16:47:25 chrism Exp $'''
__version__='$Revision: 1.95 $'[11:-2]
import OFS.SimpleItem, Aqueduct, RDB, re
import DocumentTemplate, marshal, md5, base64, Acquisition, os
from Aqueduct import decodestring, parse
from Aqueduct import custom_default_report, default_input_form
from Globals import HTMLFile, MessageDialog
from Globals import DTMLFile, MessageDialog
from cStringIO import StringIO
import sys, Globals, OFS.SimpleItem, AccessControl.Role
from string import atoi, find, join, split, rstrip
......@@ -178,7 +178,7 @@ class DA(
self.id=str(id)
self.manage_edit(title, connection_id, arguments, template)
manage_advancedForm=HTMLFile('dtml/advanced', globals())
manage_advancedForm=DTMLFile('dtml/advanced', globals())
test_url___roles__=None
def test_url_(self):
......
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