From: panjunyong <pan...@us...> - 2005-02-26 07:45:41
|
Update of /cvsroot/collective/CMFPhotoAlbum/Extensions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23656 Modified Files: Install.py Log Message: compatible with plone 2.1 Index: Install.py =================================================================== RCS file: /cvsroot/collective/CMFPhotoAlbum/Extensions/Install.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Install.py 20 Nov 2002 17:55:21 -0000 1.4 +++ Install.py 26 Feb 2005 07:45:32 -0000 1.5 @@ -40,19 +40,9 @@ out.write('Skipping %s skin\n' % skin) portal_prop=getToolByName(self, 'portal_properties') - nav=portal_prop.navigation_properties site_props = getToolByName(self, 'portal_properties').site_properties use_folder_tabs = site_props.getProperty('use_folder_tabs') site_props._updateProperty('use_folder_tabs', tuple(use_folder_tabs) + ('Photo Album',)) -# nav.manage_addProperty('photoalbum.folder_edit_form.success','script:folder_edit','string'); -# nav.manage_addProperty('photoalbum.folder_edit_form.failure','folder_edit_form','string'); -# nav.manage_addProperty('photoalbum.folder_edit.success','url:folder_contents','string'); -# nav.manage_addProperty('photoalbum.folder_edit.failure','action:edit','string'); - -# out.write('Added navigation properties.') - - - return out.getvalue() |