source: trunk/admin/inc/FCKeditor/editor/_source/fckconstants.js@ 146

Last change on this file since 146 was 2, checked in by root, 15 years ago

importo il progetto

File size: 1.7 KB
Line 
1/*
2 * FCKeditor - The text editor for internet
3 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4 *
5 * Licensed under the terms of the GNU Lesser General Public License:
6 * http://www.opensource.org/licenses/lgpl-license.php
7 *
8 * For further information visit:
9 * http://www.fckeditor.net/
10 *
11 * "Support Open Source software. What about a donation today?"
12 *
13 * File Name: fckconstants.js
14 * Defines some constants used by the editor. These constants are also
15 * globally available in the page where the editor is placed.
16 *
17 * File Authors:
18 * Frederico Caldeira Knabben (fredck@fckeditor.net)
19 */
20
21// Editor Instance Status.
22var FCK_STATUS_NOTLOADED = window.parent.FCK_STATUS_NOTLOADED = 0 ;
23var FCK_STATUS_ACTIVE = window.parent.FCK_STATUS_ACTIVE = 1 ;
24var FCK_STATUS_COMPLETE = window.parent.FCK_STATUS_COMPLETE = 2 ;
25
26// Tristate Operations.
27var FCK_TRISTATE_OFF = window.parent.FCK_TRISTATE_OFF = 0 ;
28var FCK_TRISTATE_ON = window.parent.FCK_TRISTATE_ON = 1 ;
29var FCK_TRISTATE_DISABLED = window.parent.FCK_TRISTATE_DISABLED = -1 ;
30
31// For unknown values.
32var FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -9 ;
33
34// Toolbar Items Style.
35var FCK_TOOLBARITEM_ONLYICON = window.parent.FCK_TOOLBARITEM_ONLYICON = 0 ;
36var FCK_TOOLBARITEM_ONLYTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 1 ;
37var FCK_TOOLBARITEM_ICONTEXT = window.parent.FCK_TOOLBARITEM_ICONTEXT = 2 ;
38
39// Edit Mode
40var FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ;
41var FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ;
42
43var FCK_IMAGES_PATH = 'images/' ; // Check usage.
44var FCK_SPACER_PATH = 'images/spacer.gif' ;
Note: See TracBrowser for help on using the repository browser.