|
Revision 691
(checked in by mylan, 2 years ago)
|
Import to public.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
from Globals import package_home |
|---|
| 2 |
from Products.Archetypes.public import process_types, listTypes |
|---|
| 3 |
from Products.CMFCore import utils |
|---|
| 4 |
from Products.CMFCore.DirectoryView import registerDirectory |
|---|
| 5 |
import os, os.path |
|---|
| 6 |
import TrackSpamTool |
|---|
| 7 |
from config import * |
|---|
| 8 |
|
|---|
| 9 |
registerDirectory(SKINS_DIR, GLOBALS) |
|---|
| 10 |
|
|---|
| 11 |
tools = ( TrackSpamTool.TrackSpamTool, ) |
|---|
| 12 |
|
|---|
| 13 |
def initialize(context): |
|---|
| 14 |
|
|---|
| 15 |
utils.ToolInit("TrackSpamTool", |
|---|
| 16 |
tools=tools, |
|---|
| 17 |
product_name=PROJECTNAME, |
|---|
| 18 |
icon=TOOL_ICON, |
|---|
| 19 |
).initialize(context) |
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|