[CMF-checkins] CVS: CMF - folder_rename.dtml:1.2 undo.dtml:1.2
tseaver@digicool.com
tseaver@digicool.com
Tue, 19 Jun 2001 15:14:57 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory korak.digicool.com:/tmp/cvs-serv18453/CMFDefault/skins/control
Modified Files:
folder_rename.dtml undo.dtml
Log Message:
- Merge changes to implement new permission, "List folder contents",
used by 'folder_contents', 'CMFCore.PortalFolder', etc. to protect
the "contents" view of a folder (Tracker #320).
Note that this is really only a UI change: 'PortalFolder.contentIds',
'PortalFolder.contentValues', and 'PortalFolder.contentItems' are
still public, to allow for reasonable "site map" views on folders.
--- 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:14:56 1.2
@@ -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:14:56 1.2
@@ -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' )">