[CMF-checkins] CVS: CMF/CMFDefault/skins/content - folder_edit.py:1.4
Yvo Schubbe
schubbe@web.de
Thu, 6 Mar 2003 05:51:35 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory cvs.zope.org:/tmp/cvs-serv15936/CMFDefault/skins/content
Modified Files:
folder_edit.py
Log Message:
Merged yuppie-collector122-branch:
- Added i18n attributes. (Collector #122)
- Made scripts independent of submit button values.
- Added transition_form.
=== CMF/CMFDefault/skins/content/folder_edit.py 1.3 => 1.4 ===
--- CMF/CMFDefault/skins/content/folder_edit.py:1.3 Sat Oct 6 20:29:55 2001
+++ CMF/CMFDefault/skins/content/folder_edit.py Thu Mar 6 05:51:32 2003
@@ -1,5 +1,5 @@
## Script (Python) "folder_edit"
-##parameters=title, description, choice=' Change '
+##parameters=title, description, change_and_view=''
##title=Edit a folder
context.edit( title=title,
@@ -7,7 +7,7 @@
qst='portal_status_message=Folder+changed.'
-if choice == ' Change and View ':
+if change_and_view:
target_action = context.getTypeInfo().getActionById( 'view' )
else:
target_action = context.getTypeInfo().getActionById( 'edit' )