# Copyright © 2004 Saugus.net, Inc. # All Rights Reserved. # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE. context.edit(title=title,description=description) context.manage_changeProperties({'formatted_title':formatted_title, 'long_description':long_description, 'subtitle':subtitle, 'internal_title':internal_title, 'rank':rank, 'filter':filter, 'is_feature':is_feature, 'is_quick_reference':is_quick_reference, 'is_info_directory':is_info_directory, 'subject':subject, 'html_allowed':html_allowed, 'show_contents_from_above':show_contents_from_above}) qst='portal_status_message=Folder+changed.' if choice == ' Change and View ': target_action = context.getTypeInfo().getActionById( 'view' ) else: target_action = context.getTypeInfo().getActionById( 'edit' ) context.REQUEST.RESPONSE.redirect( '%s/%s?%s' % ( context.absolute_url() , target_action , qst ) )