[CMF-checkins] CVS: CMF/CMFDefault - SkinnedFolder.py:1.18

Yvo Schubbe y.2004_ at wcm-solutions.de
Fri Feb 20 03:50:19 EST 2004


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv5619/CMFDefault

Modified Files:
	SkinnedFolder.py 
Log Message:
- removed redundant 'foldercontents' action
- added invisible 'new' and 'rename_items' actions


=== CMF/CMFDefault/SkinnedFolder.py 1.17 => 1.18 ===
--- CMF/CMFDefault/SkinnedFolder.py:1.17	Tue Dec 23 16:47:24 2003
+++ CMF/CMFDefault/SkinnedFolder.py	Fri Feb 20 03:50:19 2004
@@ -20,7 +20,7 @@
 from Globals import InitializeClass
 
 from Products.CMFCore.CMFCatalogAware import CMFCatalogAware
-from Products.CMFCore.CMFCorePermissions import ListFolderContents
+from Products.CMFCore.CMFCorePermissions import AddPortalContent
 from Products.CMFCore.CMFCorePermissions import ManageProperties
 from Products.CMFCore.CMFCorePermissions import ModifyPortalContent
 from Products.CMFCore.CMFCorePermissions import View
@@ -54,11 +54,19 @@
                          , 'permissions'   : (ManageProperties,)
                          , 'category'      : 'folder'
                          }
-                       , { 'id'            : 'foldercontents'
-                         , 'name'          : 'Folder contents'
-                         , 'action': 'string:${object_url}/folder_contents'
-                         , 'permissions'   : (ListFolderContents,)
+                       , { 'id'            : 'new'
+                         , 'name'          : 'New...'
+                         , 'action': 'string:${object_url}/folder_factories'
+                         , 'permissions'   : (AddPortalContent,)
                          , 'category'      : 'folder'
+                         , 'visible'       : 0
+                         }
+                       , { 'id'            : 'rename_items'
+                         , 'name'          : 'Rename items'
+                         , 'action': 'string:${object_url}/folder_rename_form'
+                         , 'permissions'   : (AddPortalContent,)
+                         , 'category'      : 'folder'
+                         , 'visible'       : 0
                          }
                        )
   }




More information about the CMF-checkins mailing list