[CMF-checkins] CVS: CMF - folder_rename.dtml:1.1.10.1 undo.dtml:1.1.10.1
tseaver@digicool.com
tseaver@digicool.com
Tue, 19 Jun 2001 15:05:30 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory korak.digicool.com:/tmp/cvs-serv18095/CMFDefault/skins/control
Modified Files:
Tag: listfoldercontents-branch
folder_rename.dtml undo.dtml
Log Message:
- Implement new "List folder contents" permission (Tracker #320).
--- Updated File folder_rename.dtml in package CMF --
--- folder_rename.dtml 2001/02/23 14:24:09 1.1
+++ folder_rename.dtml 2001/06/19 19:05:29 1.1.10.1
@@ -1,2 +1,4 @@
-<dtml-call expr="manage_renameObject(REQUEST['id'], REQUEST['new_id'], REQUEST)">
-<dtml-return expr="folder_contents(_.None, _, portal_status_message='Renamed.')">
+<dtml-call expr="manage_renameObject( REQUEST['id'], REQUEST['new_id'] )">
+<dtml-call expr="REQUEST['RESPONSE'].redirect( absolute_url()
+ + '/folder_contents'
+ + '?portal_status_message=Renamed.' )">
--- Updated File undo.dtml in package CMF --
--- undo.dtml 2001/02/23 14:24:09 1.1
+++ undo.dtml 2001/06/19 19:05:29 1.1.10.1
@@ -1,2 +1,4 @@
-<dtml-call expr="portal_undo.undo(this(), transaction_info)">
-<dtml-call "RESPONSE.redirect( 'folder_contents?portal_status_message=Transaction(s)+undone' )">
+<dtml-call expr="portal_undo.undo( this(), transaction_info )">
+<dtml-call expr="REQUEST['RESPONSE'].redirect( absolute_url()
+ + '/folder_contents'
+ + '?portal_status_message=Transaction(s)+undone' )">