[CMF-checkins] CVS: CMF/CMFDefault/skins/content - image_edit_form.dtml:1.3.56.1 link_edit.py:1.2.56.1 link_edit_form.dtml:1.3.56.1
Yvo Schubbe
schubbe@web.de
Wed, 26 Feb 2003 11:18:29 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory cvs.zope.org:/tmp/cvs-serv31900/CMFDefault/skins/content
Modified Files:
Tag: yuppie-collector122-branch
image_edit_form.dtml link_edit.py link_edit_form.dtml
Log Message:
- made scripts independent of submit button values
- removed tabs
=== CMF/CMFDefault/skins/content/image_edit_form.dtml 1.3 => 1.3.56.1 ===
--- CMF/CMFDefault/skins/content/image_edit_form.dtml:1.3 Sat Oct 6 19:29:38 2001
+++ CMF/CMFDefault/skins/content/image_edit_form.dtml Wed Feb 26 11:18:29 2003
@@ -37,8 +37,8 @@
<tr>
<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>
</table>
=== CMF/CMFDefault/skins/content/link_edit.py 1.2 => 1.2.56.1 ===
--- CMF/CMFDefault/skins/content/link_edit.py:1.2 Sat Oct 6 19:06:47 2001
+++ CMF/CMFDefault/skins/content/link_edit.py Wed Feb 26 11:18:29 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' )
=== CMF/CMFDefault/skins/content/link_edit_form.dtml 1.3 => 1.3.56.1 ===
--- CMF/CMFDefault/skins/content/link_edit_form.dtml:1.3 Sat Oct 6 19:29:38 2001
+++ CMF/CMFDefault/skins/content/link_edit_form.dtml Wed Feb 26 11:18:29 2003
@@ -30,8 +30,8 @@
<tr>
<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>
</table>