Last change
on this file since 1542 was
956,
checked in by crchemist, 17 years ago
|
New release prepared.
|
File size:
669 bytes
|
Line | |
---|
1 | from zope.i18nmessageid import MessageFactory |
---|
2 | |
---|
3 | from AccessControl import allow_module, ModuleSecurityInfo |
---|
4 | from Products.CMFCore.utils import ToolInit |
---|
5 | |
---|
6 | from quintagroup.plonecaptchas import config |
---|
7 | from quintagroup.plonecaptchas import CaptchaTool |
---|
8 | |
---|
9 | ProductMessageFactory = MessageFactory('quintagroup.plonecaptchas') |
---|
10 | ModuleSecurityInfo('quintagroup.plonecaptchas').declarePublic("ProductMessageFactory") |
---|
11 | |
---|
12 | allow_module('quintagroup.plonecaptchas.utils') |
---|
13 | allow_module('quintagroup.plonecaptchas.config') |
---|
14 | |
---|
15 | def 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.