1 /*
  2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
  3 For licensing, see LICENSE.html or http://ckeditor.com/license
  4 */
  5
  6 CKEDITOR.plugins.add( 'about',
  7 {
  8 	init : function( editor )
  9 	{
 10 		var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
 11 		command.modes = { wysiwyg:1, source:1 };
 12 		command.canUndo = false;
 13
 14 		editor.ui.addButton( 'About',
 15 			{
 16 				label : editor.lang.about.title,
 17 				command : 'about'
 18 			});
 19
 20 		CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
 21 	}
 22 });
 23