|
Revision 12
(checked in by fenix, 3 years ago)
|
PloneSMSCommunicator import
|
| Line | |
|---|
| 1 |
from Products.CMFCore.DirectoryView import registerDirectory |
|---|
| 2 |
from Products.Archetypes.public import * |
|---|
| 3 |
from AccessControl import allow_module |
|---|
| 4 |
from Products.CMFCore import utils |
|---|
| 5 |
|
|---|
| 6 |
from PloneSMSCommunicator import PloneSMSCommunicator |
|---|
| 7 |
from config import * |
|---|
| 8 |
|
|---|
| 9 |
registerDirectory(SKINS_DIR, GLOBALS) |
|---|
| 10 |
|
|---|
| 11 |
tools=(PloneSMSCommunicator,) |
|---|
| 12 |
|
|---|
| 13 |
allow_module('Products.PloneSMSCommunicator.Utils') |
|---|
| 14 |
allow_module('Products.PloneSMSCommunicator.config') |
|---|
| 15 |
|
|---|
| 16 |
def initialize(context): |
|---|
| 17 |
utils.ToolInit(PROJECTNAME, |
|---|
| 18 |
tools=tools, |
|---|
| 19 |
product_name=PROJECTNAME, |
|---|
| 20 |
icon= "tool.gif", |
|---|
| 21 |
).initialize(context) |
|---|