Commit dd50315d authored by Chris McDonough's avatar Chris McDonough

Changed things which used HTMLFile to use DTMLFile.

parent 302ddfa5
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
"""ZCatalog Findable class""" """ZCatalog Findable class"""
import urllib, string import urllib, string
from Globals import HTMLFile from Globals import DTMLFile
class CatalogAware: class CatalogAware:
""" This is a Mix-In class to make objects automaticly catalog and """ This is a Mix-In class to make objects automaticly catalog and
...@@ -100,7 +100,7 @@ class CatalogAware: ...@@ -100,7 +100,7 @@ class CatalogAware:
meta_type='CatalogAware' meta_type='CatalogAware'
default_catalog='Catalog' default_catalog='Catalog'
manage_editCatalogerForm=HTMLFile('dtml/editCatalogerForm', globals()) manage_editCatalogerForm=DTMLFile('dtml/editCatalogerForm', globals())
def manage_editCataloger(self, default, REQUEST=None): def manage_editCataloger(self, default, REQUEST=None):
""" """ """ """
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
"""ZCatalog Findable class""" """ZCatalog Findable class"""
import urllib, string import urllib, string
from Globals import HTMLFile from Globals import DTMLFile
from Acquisition import aq_base from Acquisition import aq_base
class CatalogAware: class CatalogAware:
...@@ -101,7 +101,7 @@ class CatalogAware: ...@@ -101,7 +101,7 @@ class CatalogAware:
meta_type='CatalogAware' meta_type='CatalogAware'
default_catalog='Catalog' default_catalog='Catalog'
manage_editCatalogerForm=HTMLFile('editCatalogerForm', globals()) manage_editCatalogerForm=DTMLFile('editCatalogerForm', globals())
def manage_editCataloger(self, default, REQUEST=None): def manage_editCataloger(self, default, REQUEST=None):
""" """ """ """
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""ZCatalog product""" """ZCatalog product"""
from Globals import HTMLFile, MessageDialog from Globals import DTMLFile, MessageDialog
import Globals, AccessControl.Role import Globals, AccessControl.Role
from Acquisition import Implicit from Acquisition import Implicit
from Persistence import Persistent from Persistence import Persistent
...@@ -93,7 +93,7 @@ from SearchIndex import Lexicon, GlobbingLexicon ...@@ -93,7 +93,7 @@ from SearchIndex import Lexicon, GlobbingLexicon
from SearchIndex.Lexicon import stop_word_dict from SearchIndex.Lexicon import stop_word_dict
manage_addVocabularyForm=HTMLFile('dtml/addVocabulary',globals()) manage_addVocabularyForm=DTMLFile('dtml/addVocabulary',globals())
def manage_addVocabulary(self, id, title, globbing=None, REQUEST=None): def manage_addVocabulary(self, id, title, globbing=None, REQUEST=None):
"""Add a Vocabulary object """Add a Vocabulary object
...@@ -144,8 +144,8 @@ class Vocabulary(Item, Persistent, Implicit, ...@@ -144,8 +144,8 @@ class Vocabulary(Item, Persistent, Implicit,
manage_main = HTMLFile('dtml/manage_vocab', globals()) manage_main = DTMLFile('dtml/manage_vocab', globals())
manage_query = HTMLFile('dtml/vocab_query', globals()) manage_query = DTMLFile('dtml/vocab_query', globals())
def __init__(self, id, title='', globbing=None): def __init__(self, id, title='', globbing=None):
""" create the lexicon to manage... """ """ create the lexicon to manage... """
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""ZCatalog product""" """ZCatalog product"""
from Globals import HTMLFile, MessageDialog from Globals import DTMLFile, MessageDialog
import Globals import Globals
from OFS.Folder import Folder from OFS.Folder import Folder
from OFS.FindSupport import FindSupport from OFS.FindSupport import FindSupport
...@@ -104,7 +104,7 @@ import IOBTree ...@@ -104,7 +104,7 @@ import IOBTree
from AccessControl import getSecurityManager from AccessControl import getSecurityManager
manage_addZCatalogForm=HTMLFile('dtml/addZCatalog',globals()) manage_addZCatalogForm=DTMLFile('dtml/addZCatalog',globals())
def manage_addZCatalog(self, id, title, vocab_id=None, REQUEST=None): def manage_addZCatalog(self, id, title, vocab_id=None, REQUEST=None):
"""Add a ZCatalog object """Add a ZCatalog object
...@@ -206,12 +206,12 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -206,12 +206,12 @@ class ZCatalog(Folder, Persistent, Implicit):
) )
manage_catalogAddRowForm = HTMLFile('dtml/catalogAddRowForm', globals()) manage_catalogAddRowForm = DTMLFile('dtml/catalogAddRowForm', globals())
manage_catalogView = HTMLFile('dtml/catalogView',globals()) manage_catalogView = DTMLFile('dtml/catalogView',globals())
manage_catalogFind = HTMLFile('dtml/catalogFind',globals()) manage_catalogFind = DTMLFile('dtml/catalogFind',globals())
manage_catalogSchema = HTMLFile('dtml/catalogSchema', globals()) manage_catalogSchema = DTMLFile('dtml/catalogSchema', globals())
manage_catalogIndexes = HTMLFile('dtml/catalogIndexes', globals()) manage_catalogIndexes = DTMLFile('dtml/catalogIndexes', globals())
manage_catalogStatus = HTMLFile('dtml/catalogStatus', globals()) manage_catalogStatus = DTMLFile('dtml/catalogStatus', globals())
threshold=10000 threshold=10000
......
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