[CMF-checkins] CVS: CMF/CMFDefault/skins/content - folder_edit.py:1.3.56.1 folder_edit_form.dtml:1.4.56.1 image_edit.py:1.2.56.1
Yvo Schubbe
schubbe@web.de
Wed, 26 Feb 2003 11:18:18 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory cvs.zope.org:/tmp/cvs-serv31877/CMFDefault/skins/content
Modified Files:
Tag: yuppie-collector122-branch
folder_edit.py folder_edit_form.dtml image_edit.py
Log Message:
- made scripts independent of submit button values
- removed tabs
=== CMF/CMFDefault/skins/content/folder_edit.py 1.3 => 1.3.56.1 ===
--- CMF/CMFDefault/skins/content/folder_edit.py:1.3 Sat Oct 6 20:29:55 2001
+++ CMF/CMFDefault/skins/content/folder_edit.py Wed Feb 26 11:18:17 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' )
=== CMF/CMFDefault/skins/content/folder_edit_form.dtml 1.4 => 1.4.56.1 ===
--- CMF/CMFDefault/skins/content/folder_edit_form.dtml:1.4 Sat Oct 6 19:29:38 2001
+++ CMF/CMFDefault/skins/content/folder_edit_form.dtml Wed Feb 26 11:18:17 2003
@@ -36,8 +36,8 @@
<tr valign="top">
<td> <br> </td>
<td>
- <input type="submit" name="choice" value=" Change ">
- <input type="submit" name="choice" value=" Change and View ">
+ <input type="submit" name="change" value=" Change ">
+ <input type="submit" name="change_and_view" value=" Change and View ">
</td>
</tr>
=== CMF/CMFDefault/skins/content/image_edit.py 1.2 => 1.2.56.1 ===
--- CMF/CMFDefault/skins/content/image_edit.py:1.2 Sat Oct 6 19:06:47 2001
+++ CMF/CMFDefault/skins/content/image_edit.py Wed Feb 26 11:18:17 2003
@@ -1,5 +1,5 @@
## Script (Python) "image_edit"
-##parameters=precondition='', file='', choice=' Change '
+##parameters=precondition='', file='', change_and_view=''
##title=Edit an image
context.edit(
@@ -8,7 +8,7 @@
qst='portal_status_message=Image+changed.'
-if choice == ' Change and View ':
+if change_and_view:
target_action = context.getTypeInfo().getActionById( 'view' )
else:
target_action = context.getTypeInfo().getActionById( 'edit' )