# -*- coding: utf-8 # $Id$ # # Copyright 2001, 2002 by IVA Team and contributors __version__ = "$Revision$"[11:-2] import FLE import Globals import Features import modules import UnicodeSplitter import hacks import sys import PathIndexNG #from Products.CMFCore.DirectoryView import registerDirectory #registerDirectory('ui/stats', globals()) #registerDirectory('ui/skins', globals()) def initialize(context): """Initialize FLE product.""" context.registerClass( FLE.FLE, constructors = (FLE.manage_addFLEForm, FLE.manage_addFLE), icon='browser/images/iva_logo.gif' ) from Products.iva.PathIndexNG import PathIndexNG manage_addPathIndexNGForm = PathIndexNG.manage_addPathIndexNGForm manage_addPathIndexNG = PathIndexNG.manage_addPathIndexNG context.registerClass( PathIndexNG.PathIndexNG, permission='Add Pluggable Index', constructors=(manage_addPathIndexNGForm, manage_addPathIndexNG), icon='PathIndexNG/www/index.gif', visibility=None ) try: from Products.SCORM import SCORMFile import sys sys.modules['Products.iva.modules.scorm'] = SCORMFile sys.modules['Products.iva.modules.scorm.SCORMFile'] = SCORMFile except ImportError: pass # EOF