Logo Search packages:      
Sourcecode: zope-cmfsin version File versions  Download package

__init__.py

from AccessControl import ModuleSecurityInfo
from Globals import InitializeClass
from Products.CMFCore.DirectoryView import registerDirectory
import Products.CMFCore.utils

ADD_CONTENT_PREMISSIONS = 'Manage Portal'
sin_globals = globals()
registerDirectory('skins', sin_globals)

PKG_NAME = "CMFSin"

from Products.CMFSin.SinTool import SinTool
tools = (SinTool,)

def initialize(context):
    Products.CMFCore.utils.ToolInit(PKG_NAME + " Tool", tools=tools,
                   product_name=PKG_NAME,
                   icon="tool.gif",
                   ).initialize(context)

types_globals=globals()

Generated by  Doxygen 1.6.0   Back to index