Ignore:
Timestamp:
Aug 14, 2006 12:44:42 PM (18 years ago)
Author:
piv
Message:

added ajax congiglet with necessary functionality (but not sufficient)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qPloneDropDownMenu/branches/0.2/__init__.py

    r59 r463  
    1 from AccessControl import allow_module 
    21from Products.CMFCore import utils 
    32from Products.CMFCore.DirectoryView import registerDirectory 
    43 
    54from 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') 
     5from Products.qPloneDropDownMenu.config import * 
    96 
    107registerDirectory(SKINS_DIR, GLOBALS) 
    11   
     8 
    129tools = (DropDownMenuTool,) 
    13   
     10 
    1411def initialize(context): 
    15     utils.ToolInit( PROJECT_NAME, 
    16                     tools = tools, 
    17                     product_name = PROJECT_NAME, 
    18                     icon='tool.gif' 
    19                     ).initialize(context) 
     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.