[CMF-checkins] CVS: CMF/CMFDefault/skins/content - document_edit_form.dtml:1.5 file_edit_form.dtml:1.3 folder_edit_form.dtml:1.4 full_metadata_edit_form.dtml:1.3 image_edit_form.dtml:1.3 link_edit_form.dtml:1.3 newsitem_edit_form.dtml:1.4
Tres Seaver
tseaver@zope.com
Sat, 6 Oct 2001 19:29:39 -0400
Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory cvs.zope.org:/tmp/cvs-serv22828/CMFDefault/skins/content
Modified Files:
document_edit_form.dtml file_edit_form.dtml
folder_edit_form.dtml full_metadata_edit_form.dtml
image_edit_form.dtml link_edit_form.dtml
newsitem_edit_form.dtml
Log Message:
- Added "Change and View" submit button to content editing
forms; added check for this button to POST handlers in
CMFDefault, and indirected redirect targets in those methods
through 'getActionByID'.
=== CMF/CMFDefault/skins/content/document_edit_form.dtml 1.4 => 1.5 ===
<td> <br> </td>
<td>
- <input type="submit" value=" Change ">
+ <input type="submit" name="choice" value=" Change ">
+ <input type="submit" name="choice" value=" Change and View ">
</td>
</tr>
</table>
=== CMF/CMFDefault/skins/content/file_edit_form.dtml 1.2 => 1.3 ===
<tr>
<td> <br> </td>
- <td><input type="submit" name="submit" value=" Change " /></td>
+ <td>
+ <input type="submit" name="choice" value=" Change ">
+ <input type="submit" name="choice" value=" Change and View ">
+ /td>
</tr>
</table>
=== CMF/CMFDefault/skins/content/folder_edit_form.dtml 1.3 => 1.4 ===
<td> <br> </td>
<td>
- <input type="submit" value=" Change ">
+ <input type="submit" name="choice" value=" Change ">
+ <input type="submit" name="choice" value=" Change and View ">
</td>
</tr>
=== CMF/CMFDefault/skins/content/full_metadata_edit_form.dtml 1.2 => 1.3 ===
<td> <br> </td>
<td>
- <input type="submit" value=" Change ">
+ <input type="submit" name="change" value=" Change ">
+ <br> <input type="submit" name="change_and_edit" value=" Change & Edit ">
+ <br> <input type="submit" name="change_and_view" value=" Change & View ">
</td>
</tr>
</table>
=== CMF/CMFDefault/skins/content/image_edit_form.dtml 1.2 => 1.3 ===
<tr>
<td> <br> </td>
- <td><input type="submit" name="submit" value=" Change " /></td>
+ <td>
+ <input type="submit" name="choice" value=" Change ">
+ <input type="submit" name="choice" value=" Change and View ">
+ </td>
</tr>
</table>
</form>
=== CMF/CMFDefault/skins/content/link_edit_form.dtml 1.2 => 1.3 ===
<td> <br> </td>
<td>
- <input type="submit" value=" Change ">
+ <input type="submit" name="choice" value=" Change ">
+ <input type="submit" name="choice" value=" Change and View ">
</td>
</tr>
</table>
=== CMF/CMFDefault/skins/content/newsitem_edit_form.dtml 1.3 => 1.4 ===
<th> <br> </td>
<td>
- <input type="submit" value=" Change ">
+ <input type="submit" name="choice" value=" Change ">
+ <input type="submit" name="choice" value=" Change and View ">
</td>
</tr>
</table>