[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/include/fckeditor/editor/_source/internals/ -> fckplugins.js (source)

   1  /*
   2   * FCKeditor - The text editor for internet
   3   * Copyright (C) 2003-2005 Frederico Caldeira Knabben
   4   * 
   5   * Licensed under the terms of the GNU Lesser General Public License:
   6   *         http://www.opensource.org/licenses/lgpl-license.php
   7   * 
   8   * For further information visit:
   9   *         http://www.fckeditor.net/
  10   * 
  11   * "Support Open Source software. What about a donation today?"
  12   * 
  13   * File Name: fckplugins.js
  14   *     Defines the FCKPlugins object that is responsible for loading the Plugins.
  15   * 
  16   * File Authors:
  17   *         Frederico Caldeira Knabben (fredck@fckeditor.net)
  18   */
  19  
  20  var FCKPlugins = FCK.Plugins = new Object() ;
  21  FCKPlugins.ItemsCount = 0 ;
  22  FCKPlugins.Loaded = false ;
  23  FCKPlugins.Items = new Object() ;
  24  
  25  // Set the defined plugins scripts paths.
  26  for ( var i = 0 ; i < FCKConfig.Plugins.Items.length ; i++ )
  27  {
  28      var oItem = FCKConfig.Plugins.Items[i] ;
  29      FCKPlugins.Items[ oItem[0] ] = new FCKPlugin( oItem[0], oItem[1], oItem[2] ) ;
  30      FCKPlugins.ItemsCount++ ;
  31  }
  32      
  33  FCKPlugins.Load = function()
  34  {
  35      // Load all items.
  36      for ( var s in this.Items )
  37          this.Items[s].Load() ;
  38      
  39      // Mark as loaded.
  40      this.Loaded = true ;
  41      
  42      // This is a self destroyable function (must be called once).
  43      FCKPlugins.Load = null ;
  44  }


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7