source: products/quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/__init__.py @ 956

Last change on this file since 956 was 956, checked in by crchemist, 17 years ago

New release prepared.

File size: 669 bytes
Line 
1from zope.i18nmessageid import MessageFactory
2
3from AccessControl import allow_module, ModuleSecurityInfo
4from Products.CMFCore.utils import ToolInit
5
6from quintagroup.plonecaptchas import config
7from quintagroup.plonecaptchas import CaptchaTool
8
9ProductMessageFactory = MessageFactory('quintagroup.plonecaptchas')
10ModuleSecurityInfo('quintagroup.plonecaptchas').declarePublic("ProductMessageFactory")
11
12allow_module('quintagroup.plonecaptchas.utils')
13allow_module('quintagroup.plonecaptchas.config')
14
15def initialize(context):
16    ToolInit(meta_type="CaptchaTool",
17             tools=(CaptchaTool.CaptchaTool, ),
18             icon=config.TOOL_ICON,).initialize(context)
Note: See TracBrowser for help on using the repository browser.