Commit b6b20d1a authored by Chris McDonough's avatar Chris McDonough

Changed things that use HTMLFile to DTMLFile.

parent dd50315d
......@@ -85,11 +85,11 @@
__doc__='''SQL Methods
$Id: SQL.py,v 1.15 2001/01/08 22:47:05 brian Exp $'''
__version__='$Revision: 1.15 $'[11:-2]
$Id: SQL.py,v 1.16 2001/01/11 19:52:54 chrism Exp $'''
__version__='$Revision: 1.16 $'[11:-2]
import Shared.DC.ZRDB.DA
from Globals import HTMLFile
from Globals import DTMLFile
def SQLConnectionIDs(self):
"""Find SQL database connections in the current folder and above
......@@ -118,7 +118,7 @@ def SQLConnectionIDs(self):
ids.sort()
return ids
manage_addZSQLMethodForm=HTMLFile('dtml/add', globals())
manage_addZSQLMethodForm=DTMLFile('dtml/add', globals())
def manage_addZSQLMethod(self, id, title,
connection_id, arguments, template,
REQUEST=None, submit=None):
......@@ -190,5 +190,5 @@ class SQL(Shared.DC.ZRDB.DA.DA):
"""
meta_type='Z SQL Method'
manage_main=HTMLFile('dtml/edit', globals())
manage_main=DTMLFile('dtml/edit', globals())
......@@ -84,7 +84,7 @@
##############################################################################
import OFS.Folder
from HelpSys.HelpTopic import TextTopic
from Globals import HTML, HTMLFile, MessageDialog
from Globals import HTML, DTMLFile, MessageDialog
import DateTime
import DocumentTemplate
import StructuredText
......@@ -105,7 +105,7 @@ class TutorialTopic(TextTopic):
text=str(StructuredText.HTML(text))
self.obj=HTML(pre_pat.sub(clean_pre, text))
index_html=HTMLFile('dtml/lessonView', globals())
index_html=DTMLFile('dtml/lessonView', globals())
def lessonURL(self, id, REQUEST):
"""
......@@ -158,10 +158,10 @@ onClick="javascript:window.open('%s/manage_main', 'manage_main').focus()"
names[0], names[1], names[2])
return '<a href="%s">API Documentation</a>' % url
tutorialNavigation=HTMLFile('dtml/tutorialNav', globals())
tutorialNavigation=DTMLFile('dtml/tutorialNav', globals())
addTutorialForm=HTMLFile('dtml/tutorialAdd', globals())
addTutorialForm=DTMLFile('dtml/tutorialAdd', globals())
def addTutorial(self, id, REQUEST=None, RESPONSE=None):
"""
......
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