[CMF-checkins] CVS: CMF/CMFDefault/skins/content - link_edit.py:1.3

Yvo Schubbe schubbe@web.de
Thu, 6 Mar 2003 05:52:09 -0500


Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory cvs.zope.org:/tmp/cvs-serv16155/CMFDefault/skins/content

Modified Files:
	link_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/link_edit.py 1.2 => 1.3 ===
--- CMF/CMFDefault/skins/content/link_edit.py:1.2	Sat Oct  6 19:06:47 2001
+++ CMF/CMFDefault/skins/content/link_edit.py	Thu Mar  6 05:52:09 2003
@@ -1,12 +1,12 @@
 ## Script (Python) "link_edit"
-##parameters=remote_url, choice=' Change '
+##parameters=remote_url, change_and_view=''
 ##title=Edit a link
  
 context.edit(remote_url=remote_url)
 
 qst='portal_status_message=Link+changed.'
 
-if choice == ' Change and View ':
+if change_and_view:
     target_action = context.getTypeInfo().getActionById( 'view' )
 else:
     target_action = context.getTypeInfo().getActionById( 'edit' )