~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo

« back to all changes in this revision

Viewing changes to applets/FCKeditor/editor/plugins/tablecommands/fckplugin.js

  • Committer: Leo Iannacone
  • Date: 2011-06-02 15:05:37 UTC
  • Revision ID: l3on@ubuntu.com-20110602150537-ycrnf58qf67uf593
Added applets for gui editor

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 
3
 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
 
4
 *
 
5
 * == BEGIN LICENSE ==
 
6
 *
 
7
 * Licensed under the terms of any of the following licenses at your
 
8
 * choice:
 
9
 *
 
10
 *  - GNU General Public License Version 2 or later (the "GPL")
 
11
 *    http://www.gnu.org/licenses/gpl.html
 
12
 *
 
13
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 
14
 *    http://www.gnu.org/licenses/lgpl.html
 
15
 *
 
16
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 
17
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 
18
 *
 
19
 * == END LICENSE ==
 
20
 *
 
21
 * This plugin register the required Toolbar items to be able to insert the
 
22
 * table commands in the toolbar.
 
23
 */
 
24
 
 
25
FCKToolbarItems.RegisterItem( 'TableInsertRowAfter'             , new FCKToolbarButton( 'TableInsertRowAfter'   , FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ;
 
26
FCKToolbarItems.RegisterItem( 'TableDeleteRows'         , new FCKToolbarButton( 'TableDeleteRows'       , FCKLang.DeleteRows, null, null, null, true, 63 ) ) ;
 
27
FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter'  , new FCKToolbarButton( 'TableInsertColumnAfter'        , FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ;
 
28
FCKToolbarItems.RegisterItem( 'TableDeleteColumns'      , new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ;
 
29
FCKToolbarItems.RegisterItem( 'TableInsertCellAfter'            , new FCKToolbarButton( 'TableInsertCellAfter'  , FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ;
 
30
FCKToolbarItems.RegisterItem( 'TableDeleteCells'        , new FCKToolbarButton( 'TableDeleteCells'      , FCKLang.DeleteCells, null, null, null, true, 59 ) ) ;
 
31
FCKToolbarItems.RegisterItem( 'TableMergeCells'         , new FCKToolbarButton( 'TableMergeCells'       , FCKLang.MergeCells, null, null, null, true, 60 ) ) ;
 
32
FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell'                , new FCKToolbarButton( 'TableHorizontalSplitCell'      , FCKLang.SplitCell, null, null, null, true, 61 ) ) ;
 
33
FCKToolbarItems.RegisterItem( 'TableCellProp'           , new FCKToolbarButton( 'TableCellProp' , FCKLang.CellProperties, null, null, null, true, 57 ) ) ;