[CMF-checkins] CVS: CMF - folder_delete.py:1.1 folder_delete.dtml:NONE
andrew@digicool.com
andrew@digicool.com
Wed, 27 Jun 2001 12:43:29 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory korak.digicool.com:/tmp/cvs-serv15789
Added Files:
folder_delete.py
Removed Files:
folder_delete.dtml
Log Message:
*converted to python script.
--- Added File folder_delete.py in package CMF ---
## Script (Python) "folder_delete"
##title=Delete objects from a folder
##parameters=
REQUEST=context.REQUEST
if REQUEST.has_key('ids'):
context.manage_delObjects(REQUEST['ids'], REQUEST)
return REQUEST.RESPONSE.redirect(context.absolute_url() + '/folder_contents?portal_status_message=Deleted.')
else:
return REQUEST.RESPONSE.redirect(context.absolute_url() + '/folder_contents?portal_status_message=Please+select+one+or+more+items+first.')
--- Removed file folder_delete.dtml from package CMF --