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

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

New release prepared.

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