Commit 52dff8a3 authored by Chris McDonough's avatar Chris McDonough

Changed things which used HTMLFile to use DTMLFile.

parent 0387f5ba
......@@ -84,10 +84,10 @@
##############################################################################
"""SMTP mail objects
$Id: MailHost.py,v 1.59 2001/01/08 22:47:00 brian Exp $"""
__version__ = "$Revision: 1.59 $"[11:-2]
$Id: MailHost.py,v 1.60 2001/01/11 15:03:52 chrism Exp $"""
__version__ = "$Revision: 1.60 $"[11:-2]
from Globals import Persistent, HTMLFile, HTML, MessageDialog
from Globals import Persistent, DTMLFile, HTML, MessageDialog
from smtplib import SMTP
from AccessControl.Role import RoleManager
from operator import truth
......@@ -99,7 +99,7 @@ from cStringIO import StringIO
smtpError = "SMTP Error"
MailHostError = "MailHost Error"
manage_addMailHostForm=HTMLFile('dtml/addMailHost_form', globals())
manage_addMailHostForm=DTMLFile('dtml/addMailHost_form', globals())
def manage_addMailHost(self, id, title='', smtp_host=None,
localhost='localhost', smtp_port=25,
timeout=1.0, REQUEST=None):
......@@ -127,7 +127,7 @@ add = manage_addMailHost
class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager):
'a mailhost...?'
meta_type='Mail Host'
manage=manage_main=HTMLFile('dtml/manageMailHost', globals())
manage=manage_main=DTMLFile('dtml/manageMailHost', globals())
index_html=None
icon='misc_/MailHost/MHIcon'
......
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