Changeset 463 in products for qPloneDropDownMenu/branches/0.2/__init__.py
- Timestamp:
- Aug 14, 2006 12:44:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qPloneDropDownMenu/branches/0.2/__init__.py
r59 r463 1 from AccessControl import allow_module2 1 from Products.CMFCore import utils 3 2 from Products.CMFCore.DirectoryView import registerDirectory 4 3 5 4 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') 5 from Products.qPloneDropDownMenu.config import * 9 6 10 7 registerDirectory(SKINS_DIR, GLOBALS) 11 8 12 9 tools = (DropDownMenuTool,) 13 10 14 11 def initialize(context): 15 utils.ToolInit( PROJECT_NAME,16 17 product_name = PROJECT_NAME,18 19 12 utils.ToolInit(PROJECTNAME, 13 tools = tools, 14 product_name = PROJECTNAME, 15 icon='tool.gif' 16 ).initialize(context)
Note: See TracChangeset
for help on using the changeset viewer.