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
3c79f800
Commit
3c79f800
authored
Nov 17, 2005
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up manage views mess on plugin indexes
parent
ee427cb5
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 @
3c79f800
...
...
@@ -40,9 +40,8 @@ class FieldIndex(UnIndex):
query_options
=
[
"query"
,
"range"
]
index_html
=
DTMLFile
(
'dtml/index'
,
globals
())
manage_workspace
=
DTMLFile
(
'dtml/manageFieldIndex'
,
globals
())
manage
=
manage_main
=
DTMLFile
(
'dtml/manageFieldIndex'
,
globals
())
manage_main
.
_setName
(
'manage_main'
)
manage_browse
=
DTMLFile
(
'../dtml/browseIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
View file @
3c79f800
...
...
@@ -130,8 +130,8 @@ class KeywordIndex(UnIndex):
LOG
.
error
(
'Attempt to unindex nonexistent'
' document id %s'
%
documentId
)
index_html
=
DTMLFile
(
'dtml/i
ndex'
,
globals
())
manage_
workspace
=
DTMLFile
(
'dtml/manageKeywordIndex'
,
globals
()
)
manage
=
manage_main
=
DTMLFile
(
'dtml/manageKeywordI
ndex'
,
globals
())
manage_
main
.
_setName
(
'manage_main'
)
manage_browse
=
DTMLFile
(
'../dtml/browseIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
3c79f800
...
...
@@ -258,8 +258,8 @@ class PathIndex(Persistent, SimpleItem):
# XXX Why is default ignored?
return
None
index_html
=
DTMLFile
(
'dtml/i
ndex'
,
globals
())
manage_
workspace
=
DTMLFile
(
'dtml/managePathIndex'
,
globals
()
)
manage
=
manage_main
=
DTMLFile
(
'dtml/managePathI
ndex'
,
globals
())
manage_
main
.
_setName
(
'manage_main'
)
manage_addPathIndexForm
=
DTMLFile
(
'dtml/addPathIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
View file @
3c79f800
...
...
@@ -652,7 +652,8 @@ class TextIndex(Persistent, Implicit, SimpleItem):
if
RESPONSE
:
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
())
...
...
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
View file @
3c79f800
...
...
@@ -50,7 +50,7 @@ class TopicIndex(Persistent, SimpleItem):
manage_options
=
(
{
'label'
:
'FilteredSets'
,
'action'
:
'manage_
workspace
'
,
'action'
:
'manage_
main
'
,
'help'
:
(
'TopicIndex'
,
'TopicIndex_searchResults.stx'
)},
)
...
...
@@ -195,8 +195,8 @@ class TopicIndex(Persistent, SimpleItem):
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
'manage_tabs_message=FilteredSet(s)%20cleared'
)
index_html
=
DTMLFile
(
'dtml/index'
,
globals
())
manage_
workspace
=
DTMLFile
(
'dtml/manageTopicIndex'
,
globals
()
)
manage
=
manage_main
=
DTMLFile
(
'dtml/manageTopicIndex'
,
globals
())
manage_
main
.
_setName
(
'manage_main'
)
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