|
Revision 512
(checked in by piv, 2 years ago)
|
modify csshover.htc script for faster work, added configlet
|
| Line | |
|---|
| 1 |
from AccessControl import allow_module |
|---|
| 2 |
from Products.CMFCore import utils |
|---|
| 3 |
from Products.CMFCore.DirectoryView import registerDirectory |
|---|
| 4 |
|
|---|
| 5 |
from Products.qPloneDropDownMenu.DropDownMenuTool import DropDownMenuTool |
|---|
| 6 |
from Products.qPloneDropDownMenu.config import PROJECT_NAME, SKINS_DIR, GLOBALS, VIEW_PERMISSION |
|---|
| 7 |
|
|---|
| 8 |
allow_module('Products.qPloneDropDownMenu.utils') |
|---|
| 9 |
|
|---|
| 10 |
registerDirectory(SKINS_DIR, GLOBALS) |
|---|
| 11 |
|
|---|
| 12 |
tools = (DropDownMenuTool,) |
|---|
| 13 |
|
|---|
| 14 |
def initialize(context): |
|---|
| 15 |
utils.ToolInit( PROJECT_NAME, |
|---|
| 16 |
tools = tools, |
|---|
| 17 |
product_name = PROJECT_NAME, |
|---|
| 18 |
icon='tool.gif' |
|---|
| 19 |
).initialize(context) |
|---|