[CMF-checkins] CVS: CMF - Topic.py:1.11
tseaver@digiciool.com
tseaver@digiciool.com
Mon, 12 Mar 2001 20:37:45 -0500 (EST)
Update of /cvs-repository/CMF/CMFTopic
In directory korak:/tmp/cvs-serv28459
Modified Files:
Topic.py
Log Message:
* Remove embedded spaces in 'portal_status_message' strings (thanks
to Dieter Maurer for pointing this out).
--- Updated File Topic.py in package CMF --
--- Topic.py 2001/03/06 15:16:11 1.10
+++ Topic.py 2001/03/13 01:37:45 1.11
@@ -251,7 +251,7 @@
self._setObject(newid, crit)
if REQUEST is not None:
- message = 'New criteria added.'
+ message = 'New+criteria+added.'
REQUEST['RESPONSE'].redirect(
'%s/topic_criteria?portal_status_message=%s' % (
self.absolute_url(), message)
@@ -264,7 +264,7 @@
self._delObject(cid)
if REQUEST is not None:
- message = 'Criteria deleted.'
+ message = 'Criteria+deleted.'
REQUEST['RESPONSE'].redirect(
'%s/topic_criteria?portal_status_message=%s' % (
self.absolute_url(), message)
@@ -293,7 +293,7 @@
apply(crit.edit, (), command)
if REQUEST is not None:
- message = 'Changes saved.'
+ message = 'Changes+saved.'
REQUEST['RESPONSE'].redirect(
'%s/topic_criteria?portal_status_message=%s' % (
self.absolute_url(), message)
@@ -311,7 +311,7 @@
action = topictype.getActionById('subtopics')
url = '%s/%s?portal_status_message=%s' % (
self.absolute_url(), action,
- "Subtopic '%s' added" % id )
+ "Subtopic+'%s'+added" % id )
REQUEST['RESPONSE'].redirect(url)
else:
return self._getOb(id)