[ Index ] |
|
Code source de CMS made simple 1.0.5 |
1 /* 2 * FCKPlugin.js 3 * ------------ 4 * This is a generic file which is needed for plugins that are developed 5 * for FCKEditor. With the below statements that toolbar is created and 6 * several options are being activated. 7 * 8 * See the online documentation for more information: 9 * http://wiki.fckeditor.net/ 10 */ 11 12 // Register the related commands. 13 FCKCommands.RegisterCommand( 14 'CMSModules', 15 new FCKDialogCommand( 16 'CMSModules', 17 FCKLang["CMSModulesDlgTitle"], 18 FCKPlugins.Items['CMSModules'].Path + 'fck_cmsmodules.php', 19 600, 20 500 21 ) 22 ); 23 24 // Create the "CMSContent" toolbar button. 25 // FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive ) 26 var oCMSModulesItem = new FCKToolbarButton( 'CMSModules', FCKLang["CMSModulesBtn"], null, null, false, true ); 27 oCMSModulesItem.IconPath = FCKConfig.PluginsPath + 'CMSModules/cmsmodules.gif'; 28 29 // 'CMSContent' is the name that is used in the toolbar config. 30 FCKToolbarItems.RegisterItem( 'CMSModules', oCMSModulesItem );
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |