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