fckplugin.js 465 B

12345678910
  1. // Register the command.
  2. FCKCommands.RegisterCommand( 'MP3',
  3. new FCKDialogCommand( FCKLang['DlgAudioTitle'], FCKLang['DlgAudioTitle'] + ' (mp3)',
  4. FCKConfig.PluginsPath + 'audio/fck_audio.html', 600, 310 )
  5. ) ;
  6. // Create and register the Audio toolbar button.
  7. var oAudioItem = new FCKToolbarButton( 'MP3', FCKLang['DlgAudioTitle'] + ' (mp3)' ) ;
  8. oAudioItem.IconPath = FCKConfig.PluginsPath + 'audio/audio.gif' ;
  9. FCKToolbarItems.RegisterItem( 'MP3', oAudioItem ) ;