Mimimum syndical pour en faire un produit zope / cmf.
[ckeditor.git] / skins / ckeditor / _source / plugins / about / plugin.js
diff --git a/skins/ckeditor/_source/plugins/about/plugin.js b/skins/ckeditor/_source/plugins/about/plugin.js
new file mode 100644 (file)
index 0000000..29451c6
--- /dev/null
@@ -0,0 +1,24 @@
+/*\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.html or http://ckeditor.com/license\r
+*/\r
+\r
+CKEDITOR.plugins.add( 'about',\r
+{\r
+       requires : [ 'dialog' ],\r
+       init : function( editor )\r
+       {\r
+               var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );\r
+               command.modes = { wysiwyg:1, source:1 };\r
+               command.canUndo = false;\r
+               command.readOnly = 1;\r
+\r
+               editor.ui.addButton( 'About',\r
+                       {\r
+                               label : editor.lang.about.title,\r
+                               command : 'about'\r
+                       });\r
+\r
+               CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );\r
+       }\r
+});\r