############################################################################## # # Copyright (c) 2005 CMFonFive Contributors. All rights reserved. # # This software is distributed under the terms of the Zope Public # License (ZPL) v2.1. See COPYING.txt for more information. # ########################################################################### """ Bridge CMF to Five. $Id$ """ from Products.CMFCore.utils import ToolInit import fiveactionstool def initialize(context): ToolInit( 'Five Tools' , tools=(fiveactionstool.FiveActionsTool,) , icon='tool.gif' ).initialize( context ) try: from Products.GenericSetup import profile_registry, EXTENSION from Products.CMFCore.interfaces import ISiteRoot profile_registry.registerProfile('default', 'CMFonFive', "Profile for a CMFonFive installation", 'profiles/default', 'CMFonFive', EXTENSION, for_=ISiteRoot) except ImportError: pass