Annotation of kupu/plone/__init__.py, revision 1.1
1.1 ! dwinter 1: ##############################################################################
! 2: #
! 3: # Cocommpyright (c) 2003-2005 Kupu Contributors. All rights reserved.
! 4: #
! 5: # This software is distributed under the terms of the Kupu
! 6: # License. See LICENSE.txt for license text. For a list of Kupu
! 7: # Contributors see CREDITS.txt.
! 8: #
! 9: ##############################################################################
! 10: """Kupu Plone integration
! 11:
! 12: This package is a python package and contains a filesystem-based skin
! 13: layer containing the necessary UI customization to integrate Kupu as a
! 14: wysiwyg editor in Plone.
! 15:
! 16: $Id: __init__.py 14575 2005-07-12 20:18:12Z duncan $
! 17: """
! 18: from App.Common import package_home
! 19: from Products.CMFCore.DirectoryView import registerDirectory
! 20: from Products.CMFCore import utils
! 21: from Products.kupu.plone.plonelibrarytool import PloneKupuLibraryTool
! 22: from Products.kupu import kupu_globals
! 23:
! 24: kupu_package_dir = package_home(kupu_globals)
! 25: registerDirectory('plone/kupu_plone_layer', kupu_package_dir)
! 26:
! 27: def initialize(context):
! 28: utils.ToolInit("kupu Library Tool",
! 29: tools=(PloneKupuLibraryTool,),
! 30: product_name='kupu',
! 31: icon="kupu_icon.gif",
! 32: ).initialize(context)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>