1
// Register the related commands.
2
FCKCommands.RegisterCommand( 'Smiley' , new FCKDialogCommand( FCKLang['InsertSmileyLbl'] , FCKLang['InsertSmiley'] , FCKConfig.PluginsPath + 'smiley/fck_smiley.html' , 340, 170 ) ) ;
4
// Create the "Smiley" toolbar button.
5
var oSmileyItem = new FCKToolbarButton( 'Smiley', FCKLang['InsertSmiley'] ) ;
6
oSmileyItem.IconPath = FCKConfig.PluginsPath + 'smiley/smile.png' ;
8
FCKToolbarItems.RegisterItem( 'Smiley', oSmileyItem) ;