|
Last change
on this file since 2284 was
1,
checked in by myroslav, 20 years ago
|
|
Building directory structure
|
|
File size:
897 bytes
|
| Line | |
|---|
| 1 | # Author: Melnychuk Taras |
|---|
| 2 | # Contact: fenix@quintagroup.com |
|---|
| 3 | # Date: $Date: 2005-12-23 11:54:22 |
|---|
| 4 | # Copyright: quintagroup.com |
|---|
| 5 | |
|---|
| 6 | """ |
|---|
| 7 | This is the init module for PloneSMSCommunicator that will initialize all |
|---|
| 8 | types in tool. |
|---|
| 9 | """ |
|---|
| 10 | __docformat__ = 'restructuredtext' |
|---|
| 11 | |
|---|
| 12 | from Products.CMFCore.DirectoryView import registerDirectory |
|---|
| 13 | from Products.Archetypes.public import * |
|---|
| 14 | from AccessControl import allow_module |
|---|
| 15 | from Products.CMFCore import utils |
|---|
| 16 | |
|---|
| 17 | from PloneSMSCommunicator import PloneSMSCommunicator |
|---|
| 18 | from config import * |
|---|
| 19 | |
|---|
| 20 | registerDirectory(SKINS_DIR, GLOBALS) |
|---|
| 21 | |
|---|
| 22 | tools=(PloneSMSCommunicator,) |
|---|
| 23 | |
|---|
| 24 | allow_module('Products.PloneSMSCommunicator.Utils') |
|---|
| 25 | allow_module('Products.PloneSMSCommunicator.config') |
|---|
| 26 | |
|---|
| 27 | def initialize(context): |
|---|
| 28 | utils.ToolInit(PROJECTNAME, |
|---|
| 29 | tools=tools, |
|---|
| 30 | product_name=PROJECTNAME, |
|---|
| 31 | icon= "tool.gif", |
|---|
| 32 | ).initialize(context) |
|---|
Note: See
TracBrowser
for help on using the repository browser.