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
cc6a27ba
Commit
cc6a27ba
authored
Nov 17, 2005
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge 40191 from trunk: clean up crufty and buggy ZMI views.
parent
99201669
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py
lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py
+2
-3
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
...ython/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
+2
-2
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
+2
-2
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
+2
-1
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
+3
-3
No files found.
lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py
View file @
cc6a27ba
...
@@ -40,9 +40,8 @@ class FieldIndex(UnIndex):
...
@@ -40,9 +40,8 @@ class FieldIndex(UnIndex):
query_options
=
[
"query"
,
"range"
]
query_options
=
[
"query"
,
"range"
]
index_html
=
DTMLFile
(
'dtml/index'
,
globals
())
manage
=
manage_main
=
DTMLFile
(
'dtml/manageFieldIndex'
,
globals
())
manage_main
.
_setName
(
'manage_main'
)
manage_workspace
=
DTMLFile
(
'dtml/manageFieldIndex'
,
globals
())
manage_browse
=
DTMLFile
(
'../dtml/browseIndex'
,
globals
())
manage_browse
=
DTMLFile
(
'../dtml/browseIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
View file @
cc6a27ba
...
@@ -130,8 +130,8 @@ class KeywordIndex(UnIndex):
...
@@ -130,8 +130,8 @@ class KeywordIndex(UnIndex):
LOG
.
error
(
'Attempt to unindex nonexistent'
LOG
.
error
(
'Attempt to unindex nonexistent'
' document id %s'
%
documentId
)
' document id %s'
%
documentId
)
index_html
=
DTMLFile
(
'dtml/i
ndex'
,
globals
())
manage
=
manage_main
=
DTMLFile
(
'dtml/manageKeywordI
ndex'
,
globals
())
manage_
workspace
=
DTMLFile
(
'dtml/manageKeywordIndex'
,
globals
()
)
manage_
main
.
_setName
(
'manage_main'
)
manage_browse
=
DTMLFile
(
'../dtml/browseIndex'
,
globals
())
manage_browse
=
DTMLFile
(
'../dtml/browseIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
cc6a27ba
...
@@ -267,8 +267,8 @@ class PathIndex(Persistent, SimpleItem):
...
@@ -267,8 +267,8 @@ class PathIndex(Persistent, SimpleItem):
# XXX Why is default ignored?
# XXX Why is default ignored?
return
None
return
None
index_html
=
DTMLFile
(
'dtml/i
ndex'
,
globals
())
manage
=
manage_main
=
DTMLFile
(
'dtml/managePathI
ndex'
,
globals
())
manage_
workspace
=
DTMLFile
(
'dtml/managePathIndex'
,
globals
()
)
manage_
main
.
_setName
(
'manage_main'
)
manage_addPathIndexForm
=
DTMLFile
(
'dtml/addPathIndex'
,
globals
())
manage_addPathIndexForm
=
DTMLFile
(
'dtml/addPathIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
View file @
cc6a27ba
...
@@ -652,7 +652,8 @@ class TextIndex(Persistent, Implicit, SimpleItem):
...
@@ -652,7 +652,8 @@ class TextIndex(Persistent, Implicit, SimpleItem):
if
RESPONSE
:
if
RESPONSE
:
RESPONSE
.
redirect
(
URL2
+
'/manage_main?manage_tabs_message=Preferences%20saved'
)
RESPONSE
.
redirect
(
URL2
+
'/manage_main?manage_tabs_message=Preferences%20saved'
)
manage_workspace
=
DTMLFile
(
"dtml/manageTextIndex"
,
globals
())
manage
=
manage_main
=
DTMLFile
(
"dtml/manageTextIndex"
,
globals
())
manage_main
.
_setName
(
'manage_main'
)
manage_vocabulary
=
DTMLFile
(
"dtml/manageVocabulary"
,
globals
())
manage_vocabulary
=
DTMLFile
(
"dtml/manageVocabulary"
,
globals
())
...
...
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
View file @
cc6a27ba
...
@@ -50,7 +50,7 @@ class TopicIndex(Persistent, SimpleItem):
...
@@ -50,7 +50,7 @@ class TopicIndex(Persistent, SimpleItem):
manage_options
=
(
manage_options
=
(
{
'label'
:
'FilteredSets'
,
{
'label'
:
'FilteredSets'
,
'action'
:
'manage_
workspace
'
,
'action'
:
'manage_
main
'
,
'help'
:
(
'TopicIndex'
,
'TopicIndex_searchResults.stx'
)},
'help'
:
(
'TopicIndex'
,
'TopicIndex_searchResults.stx'
)},
)
)
...
@@ -195,8 +195,8 @@ class TopicIndex(Persistent, SimpleItem):
...
@@ -195,8 +195,8 @@ class TopicIndex(Persistent, SimpleItem):
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
'manage_tabs_message=FilteredSet(s)%20cleared'
)
'manage_tabs_message=FilteredSet(s)%20cleared'
)
index_html
=
DTMLFile
(
'dtml/index'
,
globals
())
manage
=
manage_main
=
DTMLFile
(
'dtml/manageTopicIndex'
,
globals
())
manage_
workspace
=
DTMLFile
(
'dtml/manageTopicIndex'
,
globals
()
)
manage_
main
.
_setName
(
'manage_main'
)
editFilteredSet
=
DTMLFile
(
'dtml/editFilteredSet'
,
globals
())
editFilteredSet
=
DTMLFile
(
'dtml/editFilteredSet'
,
globals
())
...
...
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