import rt 3.8.7
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / plugins / tablecommands / fckplugin.js
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/plugins/tablecommands/fckplugin.js b/rt/share/html/NoAuth/RichText/FCKeditor/editor/plugins/tablecommands/fckplugin.js
new file mode 100644 (file)
index 0000000..867b1d0
--- /dev/null
@@ -0,0 +1,33 @@
+/*\r
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
+ *\r
+ * == BEGIN LICENSE ==\r
+ *\r
+ * Licensed under the terms of any of the following licenses at your\r
+ * choice:\r
+ *\r
+ *  - GNU General Public License Version 2 or later (the "GPL")\r
+ *    http://www.gnu.org/licenses/gpl.html\r
+ *\r
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ *    http://www.gnu.org/licenses/lgpl.html\r
+ *\r
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ *    http://www.mozilla.org/MPL/MPL-1.1.html\r
+ *\r
+ * == END LICENSE ==\r
+ *\r
+ * This plugin register the required Toolbar items to be able to insert the\r
+ * table commands in the toolbar.\r
+ */\r
+\r
+FCKToolbarItems.RegisterItem( 'TableInsertRowAfter'            , new FCKToolbarButton( 'TableInsertRowAfter'   , FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableDeleteRows'                , new FCKToolbarButton( 'TableDeleteRows'       , FCKLang.DeleteRows, null, null, null, true, 63 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter' , new FCKToolbarButton( 'TableInsertColumnAfter'        , FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableDeleteColumns'     , new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableInsertCellAfter'           , new FCKToolbarButton( 'TableInsertCellAfter'  , FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableDeleteCells'       , new FCKToolbarButton( 'TableDeleteCells'      , FCKLang.DeleteCells, null, null, null, true, 59 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableMergeCells'                , new FCKToolbarButton( 'TableMergeCells'       , FCKLang.MergeCells, null, null, null, true, 60 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell'               , new FCKToolbarButton( 'TableHorizontalSplitCell'      , FCKLang.SplitCell, null, null, null, true, 61 ) ) ;\r
+FCKToolbarItems.RegisterItem( 'TableCellProp'          , new FCKToolbarButton( 'TableCellProp' , FCKLang.CellProperties, null, null, null, true, 57 ) ) ;\r