Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 """Initialize PasswordResetTool Product"""
00002 
00003 import sys
00004 from Products.CMFCore.DirectoryView import registerDirectory
00005 from Products.CMFCore import utils
00006 import PasswordResetTool
00007 
00008 this_module = sys.modules[ __name__ ]
00009 
00010 product_globals = globals()
00011 
00012 tools = ( PasswordResetTool.PasswordResetTool, )
00013 
00014 # Make the skins available as DirectoryViews
00015 registerDirectory('skins', globals())
00016 registerDirectory('skins/PasswordReset', globals())
00017 
00018 def initialize(context):
00019     utils.ToolInit('Password Reset Tool',
00020                     tools = tools,
00021                     icon='tool.gif' 
00022                     ).initialize( context )