Changeset 512 in products for qPloneDropDownMenu/trunk/__init__.py
- Timestamp:
- Sep 7, 2006 1:25:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qPloneDropDownMenu/trunk/__init__.py
r59 r512 1 1 from AccessControl import allow_module 2 from Products.CMFCore import utils 3 from Products.CMFCore.DirectoryView import registerDirectory 2 from Products.CMFCore.utils import ToolInit 4 3 5 4 from Products.qPloneDropDownMenu.DropDownMenuTool import DropDownMenuTool 6 from Products.qPloneDropDownMenu.config import PROJECT_NAME , SKINS_DIR, GLOBALS, VIEW_PERMISSION5 from Products.qPloneDropDownMenu.config import PROJECT_NAME 7 6 8 7 allow_module('Products.qPloneDropDownMenu.utils') 9 8 10 registerDirectory(SKINS_DIR, GLOBALS)11 12 9 tools = (DropDownMenuTool,) 13 10 14 11 def initialize(context): 15 utils.ToolInit( PROJECT_NAME, 16 tools = tools, 17 product_name = PROJECT_NAME, 18 icon='tool.gif' 19 ).initialize(context) 12 ToolInit(PROJECT_NAME, 13 tools=tools, 14 icon='tool.gif').initialize(context)
Note: See TracChangeset
for help on using the changeset viewer.