Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
dd50315d
Commit
dd50315d
authored
Jan 11, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed things which used HTMLFile to use DTMLFile.
parent
302ddfa5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
lib/python/Products/ZCatalog/CatalogAwareness.py
lib/python/Products/ZCatalog/CatalogAwareness.py
+2
-2
lib/python/Products/ZCatalog/CatalogPathAwareness.py
lib/python/Products/ZCatalog/CatalogPathAwareness.py
+2
-2
lib/python/Products/ZCatalog/Vocabulary.py
lib/python/Products/ZCatalog/Vocabulary.py
+4
-4
lib/python/Products/ZCatalog/ZCatalog.py
lib/python/Products/ZCatalog/ZCatalog.py
+8
-8
No files found.
lib/python/Products/ZCatalog/CatalogAwareness.py
View file @
dd50315d
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
"""ZCatalog Findable class"""
"""ZCatalog Findable class"""
import
urllib
,
string
import
urllib
,
string
from
Globals
import
H
TMLFile
from
Globals
import
D
TMLFile
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
=
H
TMLFile
(
'dtml/editCatalogerForm'
,
globals
())
manage_editCatalogerForm
=
D
TMLFile
(
'dtml/editCatalogerForm'
,
globals
())
def
manage_editCataloger
(
self
,
default
,
REQUEST
=
None
):
def
manage_editCataloger
(
self
,
default
,
REQUEST
=
None
):
""" """
""" """
...
...
lib/python/Products/ZCatalog/CatalogPathAwareness.py
View file @
dd50315d
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
"""ZCatalog Findable class"""
"""ZCatalog Findable class"""
import
urllib
,
string
import
urllib
,
string
from
Globals
import
H
TMLFile
from
Globals
import
D
TMLFile
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
=
H
TMLFile
(
'editCatalogerForm'
,
globals
())
manage_editCatalogerForm
=
D
TMLFile
(
'editCatalogerForm'
,
globals
())
def
manage_editCataloger
(
self
,
default
,
REQUEST
=
None
):
def
manage_editCataloger
(
self
,
default
,
REQUEST
=
None
):
""" """
""" """
...
...
lib/python/Products/ZCatalog/Vocabulary.py
View file @
dd50315d
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""ZCatalog product"""
"""ZCatalog product"""
from
Globals
import
H
TMLFile
,
MessageDialog
from
Globals
import
D
TMLFile
,
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
=
H
TMLFile
(
'dtml/addVocabulary'
,
globals
())
manage_addVocabularyForm
=
D
TMLFile
(
'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
=
H
TMLFile
(
'dtml/manage_vocab'
,
globals
())
manage_main
=
D
TMLFile
(
'dtml/manage_vocab'
,
globals
())
manage_query
=
H
TMLFile
(
'dtml/vocab_query'
,
globals
())
manage_query
=
D
TMLFile
(
'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... """
...
...
lib/python/Products/ZCatalog/ZCatalog.py
View file @
dd50315d
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""ZCatalog product"""
"""ZCatalog product"""
from
Globals
import
H
TMLFile
,
MessageDialog
from
Globals
import
D
TMLFile
,
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
=
H
TMLFile
(
'dtml/addZCatalog'
,
globals
())
manage_addZCatalogForm
=
D
TMLFile
(
'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
=
H
TMLFile
(
'dtml/catalogAddRowForm'
,
globals
())
manage_catalogAddRowForm
=
D
TMLFile
(
'dtml/catalogAddRowForm'
,
globals
())
manage_catalogView
=
H
TMLFile
(
'dtml/catalogView'
,
globals
())
manage_catalogView
=
D
TMLFile
(
'dtml/catalogView'
,
globals
())
manage_catalogFind
=
H
TMLFile
(
'dtml/catalogFind'
,
globals
())
manage_catalogFind
=
D
TMLFile
(
'dtml/catalogFind'
,
globals
())
manage_catalogSchema
=
H
TMLFile
(
'dtml/catalogSchema'
,
globals
())
manage_catalogSchema
=
D
TMLFile
(
'dtml/catalogSchema'
,
globals
())
manage_catalogIndexes
=
H
TMLFile
(
'dtml/catalogIndexes'
,
globals
())
manage_catalogIndexes
=
D
TMLFile
(
'dtml/catalogIndexes'
,
globals
())
manage_catalogStatus
=
H
TMLFile
(
'dtml/catalogStatus'
,
globals
())
manage_catalogStatus
=
D
TMLFile
(
'dtml/catalogStatus'
,
globals
())
threshold
=
10000
threshold
=
10000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment