summaryrefslogtreecommitdiffstats
path: root/Products/JRedirector/__init__.py
blob: 1d8fbcd05b6067e43811ce92419ad82d3aa72e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##############################################################################
#
# __init__.py	Initialization code for the JRedirector package
#
# This software is governed by a license. See
# LICENSE.txt for the terms of this license.
# 
##############################################################################

__doc__     = """ JRedirector initialization module """
__version__ = '$Revision$'[11:-2]

from JRedirector import JRedirector, manage_addJRedirector, addJRedirectorForm

def initialize(context):
    context.registerClass( JRedirector
                         , permission='Add JRedirector'
                         , constructors=( addJRedirectorForm
                                        , manage_addJRedirector 
                                        )
                         , icon='www/jredirector.gif'
                         )

    context.registerHelp()