[CMF-checkins] CVS: CMF/CMFDefault/skins/content -
aboveInThread.py:1.1.74.1 content_status_modify.py:1.3.70.1
file_edit.py:1.3.14.1 folder_edit.py:1.4.14.1
image_edit.py:1.3.14.1 link_edit.py:1.3.14.1
metadata_edit.py:1.4.68.1 newsitem_edit.py:1.5.14.1
Sidnei da Silva
sidnei at awkly.org
Thu Apr 22 13:48:29 EDT 2004
Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory cvs.zope.org:/tmp/cvs-serv30596/CMFDefault/skins/content
Modified Files:
Tag: CMF-1_4-branch
aboveInThread.py content_status_modify.py file_edit.py
folder_edit.py image_edit.py link_edit.py metadata_edit.py
newsitem_edit.py
Log Message:
Fix version.txt to right version. Run reindent.py for removing extra tabs and whitespaces
=== CMF/CMFDefault/skins/content/aboveInThread.py 1.1 => 1.1.74.1 ===
--- CMF/CMFDefault/skins/content/aboveInThread.py:1.1 Mon Jun 18 17:41:45 2001
+++ CMF/CMFDefault/skins/content/aboveInThread.py Thu Apr 22 13:47:52 2004
@@ -12,6 +12,5 @@
breadcrumbs = breadcrumbs + p_str + ':'
breadcrumbs = breadcrumbs[:-1] + '<p>'
-
-return breadcrumbs
+return breadcrumbs
=== CMF/CMFDefault/skins/content/content_status_modify.py 1.3 => 1.3.70.1 ===
--- CMF/CMFDefault/skins/content/content_status_modify.py:1.3 Wed Sep 26 14:16:25 2001
+++ CMF/CMFDefault/skins/content/content_status_modify.py Thu Apr 22 13:47:52 2004
@@ -1,7 +1,7 @@
## Script (Python) "content_status_modify"
##parameters=workflow_action, comment=''
##title=Modify the status of a content object
-
+
context.portal_workflow.doActionFor(
context,
workflow_action,
@@ -15,4 +15,3 @@
)
context.REQUEST[ 'RESPONSE' ].redirect( redirect_url )
-
=== CMF/CMFDefault/skins/content/file_edit.py 1.3 => 1.3.14.1 ===
--- CMF/CMFDefault/skins/content/file_edit.py:1.3 Thu Mar 6 05:51:15 2003
+++ CMF/CMFDefault/skins/content/file_edit.py Thu Apr 22 13:47:52 2004
@@ -1,7 +1,7 @@
## Script (Python) "file_edit"
##parameters=precondition='', file='', change_and_view=''
##title=Edit a file
-
+
context.edit(
precondition=precondition,
file=file)
=== CMF/CMFDefault/skins/content/folder_edit.py 1.4 => 1.4.14.1 ===
--- CMF/CMFDefault/skins/content/folder_edit.py:1.4 Thu Mar 6 05:51:32 2003
+++ CMF/CMFDefault/skins/content/folder_edit.py Thu Apr 22 13:47:52 2004
@@ -1,7 +1,7 @@
## Script (Python) "folder_edit"
##parameters=title, description, change_and_view=''
##title=Edit a folder
-
+
context.edit( title=title,
description=description)
@@ -16,4 +16,3 @@
, target_action
, qst
) )
-
=== CMF/CMFDefault/skins/content/image_edit.py 1.3 => 1.3.14.1 ===
--- CMF/CMFDefault/skins/content/image_edit.py:1.3 Thu Mar 6 05:51:51 2003
+++ CMF/CMFDefault/skins/content/image_edit.py Thu Apr 22 13:47:52 2004
@@ -1,7 +1,7 @@
## Script (Python) "image_edit"
##parameters=precondition='', file='', change_and_view=''
##title=Edit an image
-
+
context.edit(
precondition=precondition,
file=file)
=== CMF/CMFDefault/skins/content/link_edit.py 1.3 => 1.3.14.1 ===
--- CMF/CMFDefault/skins/content/link_edit.py:1.3 Thu Mar 6 05:52:09 2003
+++ CMF/CMFDefault/skins/content/link_edit.py Thu Apr 22 13:47:52 2004
@@ -1,7 +1,7 @@
## Script (Python) "link_edit"
##parameters=remote_url, change_and_view=''
##title=Edit a link
-
+
context.edit(remote_url=remote_url)
qst='portal_status_message=Link+changed.'
=== CMF/CMFDefault/skins/content/metadata_edit.py 1.4 => 1.4.68.1 ===
--- CMF/CMFDefault/skins/content/metadata_edit.py:1.4 Tue Dec 4 14:04:20 2001
+++ CMF/CMFDefault/skins/content/metadata_edit.py Thu Apr 22 13:47:52 2004
@@ -43,7 +43,7 @@
context.portal_discussion.overrideDiscussionFor(context, allowDiscussion)
-try:
+try:
context.editMetadata( title=title
, description=description
, subject=subject
=== CMF/CMFDefault/skins/content/newsitem_edit.py 1.5 => 1.5.14.1 ===
--- CMF/CMFDefault/skins/content/newsitem_edit.py:1.5 Thu Mar 6 05:52:33 2003
+++ CMF/CMFDefault/skins/content/newsitem_edit.py Thu Apr 22 13:47:52 2004
@@ -5,7 +5,7 @@
from Products.CMFDefault.utils import scrubHTML
text = scrubHTML( text ) # Strip Javascript, etc.
description = scrubHTML( description )
-
+
context.edit(text=text, description=description, text_format=text_format)
qst='portal_status_message=News+Item+changed.'
More information about the CMF-checkins
mailing list