Last change
on this file since 1953 was
1953,
checked in by mylan, 14 years ago
|
#172: Update installation profile
|
File size:
663 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 | |
---|
[1953] | 6 | from quintagroup.captcha.core import config |
---|
| 7 | from quintagroup.captcha.core import CaptchaTool |
---|
[797] | 8 | |
---|
[1953] | 9 | ProductMessageFactory = MessageFactory('quintagroup.captcha.core') |
---|
| 10 | ModuleSecurityInfo('quintagroup.captcha.core').declarePublic("ProductMessageFactory") |
---|
[821] | 11 | |
---|
[1953] | 12 | allow_module('quintagroup.captcha.core.utils') |
---|
| 13 | allow_module('quintagroup.captcha.core.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.