[ 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 'CMSContent', 15 new FCKDialogCommand( 16 'CMSContent', 17 FCKLang["CMSContentDlgTitle"], 18 FCKPlugins.Items['CMSContent'].Path + 'fck_cmscontent.php', 19 400, 20 340 21 ) 22 ); 23 24 // Create the "CMSContent" toolbar button. 25 // FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive ) 26 var oCMSContentItem = new FCKToolbarButton( 'CMSContent', FCKLang["CMSContentBtn"], null, null, false, true ); 27 oCMSContentItem.IconPath = FCKConfig.PluginsPath + 'CMSContent/cmscontent.gif'; 28 29 // 'CMSContent' is the name that is used in the toolbar config. 30 FCKToolbarItems.RegisterItem( 'CMSContent', oCMSContentItem );
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 |