+++ /dev/null
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- * - GNU General Public License Version 2 or later (the "GPL")\r
- * http://www.gnu.org/licenses/gpl.html\r
- *\r
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- * http://www.gnu.org/licenses/lgpl.html\r
- *\r
- * - Mozilla Public License Version 1.1 or later (the "MPL")\r
- * http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * Defines the FCKPlugins object that is responsible for loading the Plugins.\r
- */\r
-\r
-var FCKPlugins = FCK.Plugins = new Object() ;\r
-FCKPlugins.ItemsCount = 0 ;\r
-FCKPlugins.Items = new Object() ;\r
-\r
-FCKPlugins.Load = function()\r
-{\r
- var oItems = FCKPlugins.Items ;\r
-\r
- // build the plugins collection.\r
- for ( var i = 0 ; i < FCKConfig.Plugins.Items.length ; i++ )\r
- {\r
- var oItem = FCKConfig.Plugins.Items[i] ;\r
- var oPlugin = oItems[ oItem[0] ] = new FCKPlugin( oItem[0], oItem[1], oItem[2] ) ;\r
- FCKPlugins.ItemsCount++ ;\r
- }\r
-\r
- // Load all items in the plugins collection.\r
- for ( var s in oItems )\r
- oItems[s].Load() ;\r
-\r
- // This is a self destroyable function (must be called once).\r
- FCKPlugins.Load = null ;\r
-}\r