Subversion Repositories Applications.papyrus

Rev

Rev 1925 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 2048
1
/*
1
/*
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4
 *
4
 *
5
 * == BEGIN LICENSE ==
5
 * == BEGIN LICENSE ==
6
 *
6
 *
7
 * Licensed under the terms of any of the following licenses at your
7
 * Licensed under the terms of any of the following licenses at your
8
 * choice:
8
 * choice:
9
 *
9
 *
10
 *  - GNU General Public License Version 2 or later (the "GPL")
10
 *  - GNU General Public License Version 2 or later (the "GPL")
11
 *    http://www.gnu.org/licenses/gpl.html
11
 *    http://www.gnu.org/licenses/gpl.html
12
 *
12
 *
13
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
13
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14
 *    http://www.gnu.org/licenses/lgpl.html
14
 *    http://www.gnu.org/licenses/lgpl.html
15
 *
15
 *
16
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
16
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
17
 *    http://www.mozilla.org/MPL/MPL-1.1.html
17
 *    http://www.mozilla.org/MPL/MPL-1.1.html
18
 *
18
 *
19
 * == END LICENSE ==
19
 * == END LICENSE ==
20
 *
20
 *
21
 * Editor configuration settings.
21
 * Editor configuration settings.
22
 *
22
 *
23
 * Follow this link for more information:
23
 * Follow this link for more information:
24
 * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
24
 * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
25
 */
25
 */
26
 
26
 
27
FCKConfig.CustomConfigurationsPath = '' ;
27
FCKConfig.CustomConfigurationsPath = '' ;
28
 
28
 
29
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
29
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
30
FCKConfig.EditorAreaStyles = '' ;
30
FCKConfig.EditorAreaStyles = '' ;
31
FCKConfig.ToolbarComboPreviewCSS = '' ;
31
FCKConfig.ToolbarComboPreviewCSS = '' ;
32
 
32
 
33
FCKConfig.DocType = '' ;
33
FCKConfig.DocType = '' ;
34
 
34
 
35
FCKConfig.BaseHref = '' ;
35
FCKConfig.BaseHref = '' ;
36
 
36
 
37
FCKConfig.FullPage = false ;
37
FCKConfig.FullPage = false ;
38
 
38
 
39
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
39
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
40
FCKConfig.StartupShowBlocks = false ;
40
FCKConfig.StartupShowBlocks = false ;
41
 
41
 
42
FCKConfig.Debug = false ;
42
FCKConfig.Debug = false ;
43
FCKConfig.AllowQueryStringDebug = true ;
43
FCKConfig.AllowQueryStringDebug = true ;
44
 
44
 
45
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
45
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
46
FCKConfig.SkinEditorCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
46
FCKConfig.SkinEditorCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
47
FCKConfig.SkinDialogCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
47
FCKConfig.SkinDialogCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
48
 
48
 
49
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
49
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
50
 
50
 
51
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
51
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
52
 
52
 
53
// FCKConfig.Plugins.Add( 'autogrow' ) ;
53
// FCKConfig.Plugins.Add( 'autogrow' ) ;
54
// FCKConfig.Plugins.Add( 'dragresizetable' );
54
// FCKConfig.Plugins.Add( 'dragresizetable' );
55
FCKConfig.AutoGrowMax = 400 ;
55
FCKConfig.AutoGrowMax = 400 ;
56
 
56
 
57
// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
57
// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
58
// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
58
// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
59
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
59
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
60
 
60
 
61
FCKConfig.AutoDetectLanguage	= true ;
61
FCKConfig.AutoDetectLanguage	= true ;
62
FCKConfig.DefaultLanguage		= 'en' ;
62
FCKConfig.DefaultLanguage		= 'en' ;
63
FCKConfig.ContentLangDirection	= 'ltr' ;
63
FCKConfig.ContentLangDirection	= 'ltr' ;
64
 
64
 
65
FCKConfig.ProcessHTMLEntities	= true ;
65
FCKConfig.ProcessHTMLEntities	= true ;
66
FCKConfig.IncludeLatinEntities	= true ;
66
FCKConfig.IncludeLatinEntities	= true ;
67
FCKConfig.IncludeGreekEntities	= true ;
67
FCKConfig.IncludeGreekEntities	= true ;
68
 
68
 
69
FCKConfig.ProcessNumericEntities = false ;
69
FCKConfig.ProcessNumericEntities = false ;
70
 
70
 
71
FCKConfig.AdditionalNumericEntities = ''  ;		// Single Quote: "'"
71
FCKConfig.AdditionalNumericEntities = ''  ;		// Single Quote: "'"
72
 
72
 
73
FCKConfig.FillEmptyBlocks	= true ;
73
FCKConfig.FillEmptyBlocks	= true ;
74
 
74
 
75
FCKConfig.FormatSource		= true ;
75
FCKConfig.FormatSource		= true ;
76
FCKConfig.FormatOutput		= true ;
76
FCKConfig.FormatOutput		= true ;
77
FCKConfig.FormatIndentator	= '    ' ;
77
FCKConfig.FormatIndentator	= '    ' ;
78
 
78
 
79
FCKConfig.EMailProtection = 'encode' ; // none | encode | function
79
FCKConfig.EMailProtection = 'none' ; // none | encode | function
80
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
80
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
81
 
81
 
82
FCKConfig.StartupFocus	= false ;
82
FCKConfig.StartupFocus	= false ;
83
FCKConfig.ForcePasteAsPlainText	= false ;
83
FCKConfig.ForcePasteAsPlainText	= false ;
84
FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
84
FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
85
FCKConfig.ShowDropDialog = true ;
85
FCKConfig.ShowDropDialog = true ;
86
FCKConfig.ForceSimpleAmpersand	= false ;
86
FCKConfig.ForceSimpleAmpersand	= false ;
87
FCKConfig.TabSpaces		= 0 ;
87
FCKConfig.TabSpaces		= 0 ;
88
FCKConfig.ShowBorders	= true ;
88
FCKConfig.ShowBorders	= true ;
89
FCKConfig.SourcePopup	= false ;
89
FCKConfig.SourcePopup	= false ;
90
FCKConfig.ToolbarStartExpanded	= true ;
90
FCKConfig.ToolbarStartExpanded	= true ;
91
FCKConfig.ToolbarCanCollapse	= true ;
91
FCKConfig.ToolbarCanCollapse	= true ;
92
FCKConfig.IgnoreEmptyParagraphValue = true ;
92
FCKConfig.IgnoreEmptyParagraphValue = true ;
93
FCKConfig.FloatingPanelsZIndex = 10000 ;
93
FCKConfig.FloatingPanelsZIndex = 10000 ;
94
FCKConfig.HtmlEncodeOutput = false ;
94
FCKConfig.HtmlEncodeOutput = false ;
95
 
95
 
96
FCKConfig.TemplateReplaceAll = true ;
96
FCKConfig.TemplateReplaceAll = true ;
97
FCKConfig.TemplateReplaceCheckbox = true ;
97
FCKConfig.TemplateReplaceCheckbox = true ;
98
 
98
 
99
FCKConfig.ToolbarLocation = 'In' ;
99
FCKConfig.ToolbarLocation = 'In' ;
100
 
100
 
101
FCKConfig.ToolbarSets["Default"] = [
101
FCKConfig.ToolbarSets["Default"] = [
102
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
102
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
103
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
103
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
104
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
104
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
105
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
105
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
106
	'/',
106
	'/',
107
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
107
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
108
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
108
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
109
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
109
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
110
	['Link','Unlink','Anchor'],
110
	['Link','Unlink','Anchor'],
111
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
111
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
112
	'/',
112
	'/',
113
	['Style','FontFormat','FontName','FontSize'],
113
	['Style','FontFormat','FontName','FontSize'],
114
	['TextColor','BGColor'],
114
	['TextColor','BGColor'],
115
	['FitWindow','ShowBlocks','-','About']		// No comma for the last row.
115
	['FitWindow','ShowBlocks','-','About']		// No comma for the last row.
116
] ;
116
] ;
117
 
117
 
118
FCKConfig.ToolbarSets["Basic"] = [
118
FCKConfig.ToolbarSets["Basic"] = [
119
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
119
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
120
] ;
120
] ;
121
 
121
 
122
FCKConfig.EnterMode = 'p' ;			// p | div | br
122
FCKConfig.EnterMode = 'p' ;			// p | div | br
123
FCKConfig.ShiftEnterMode = 'br' ;	// p | div | br
123
FCKConfig.ShiftEnterMode = 'br' ;	// p | div | br
124
 
124
 
125
FCKConfig.Keystrokes = [
125
FCKConfig.Keystrokes = [
126
	[ CTRL + 65 /*A*/, true ],
126
	[ CTRL + 65 /*A*/, true ],
127
	[ CTRL + 67 /*C*/, true ],
127
	[ CTRL + 67 /*C*/, true ],
128
	[ CTRL + 70 /*F*/, true ],
128
	[ CTRL + 70 /*F*/, true ],
129
	[ CTRL + 83 /*S*/, true ],
129
	[ CTRL + 83 /*S*/, true ],
130
	[ CTRL + 84 /*T*/, true ],
130
	[ CTRL + 84 /*T*/, true ],
131
	[ CTRL + 88 /*X*/, true ],
131
	[ CTRL + 88 /*X*/, true ],
132
	[ CTRL + 86 /*V*/, 'Paste' ],
132
	[ CTRL + 86 /*V*/, 'Paste' ],
133
	[ CTRL + 45 /*INS*/, true ],
133
	[ CTRL + 45 /*INS*/, true ],
134
	[ SHIFT + 45 /*INS*/, 'Paste' ],
134
	[ SHIFT + 45 /*INS*/, 'Paste' ],
135
	[ CTRL + 88 /*X*/, 'Cut' ],
135
	[ CTRL + 88 /*X*/, 'Cut' ],
136
	[ SHIFT + 46 /*DEL*/, 'Cut' ],
136
	[ SHIFT + 46 /*DEL*/, 'Cut' ],
137
	[ CTRL + 90 /*Z*/, 'Undo' ],
137
	[ CTRL + 90 /*Z*/, 'Undo' ],
138
	[ CTRL + 89 /*Y*/, 'Redo' ],
138
	[ CTRL + 89 /*Y*/, 'Redo' ],
139
	[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
139
	[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
140
	[ CTRL + 76 /*L*/, 'Link' ],
140
	[ CTRL + 76 /*L*/, 'Link' ],
141
	[ CTRL + 66 /*B*/, 'Bold' ],
141
	[ CTRL + 66 /*B*/, 'Bold' ],
142
	[ CTRL + 73 /*I*/, 'Italic' ],
142
	[ CTRL + 73 /*I*/, 'Italic' ],
143
	[ CTRL + 85 /*U*/, 'Underline' ],
143
	[ CTRL + 85 /*U*/, 'Underline' ],
144
	[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
144
	[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
145
	[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
145
	[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
146
	[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
146
	[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
147
] ;
147
] ;
148
 
148
 
149
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
149
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
150
FCKConfig.BrowserContextMenuOnCtrl = false ;
150
FCKConfig.BrowserContextMenuOnCtrl = false ;
151
FCKConfig.BrowserContextMenu = false ;
151
FCKConfig.BrowserContextMenu = false ;
152
 
152
 
153
FCKConfig.EnableMoreFontColors = true ;
153
FCKConfig.EnableMoreFontColors = true ;
154
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
154
FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
155
 
155
 
156
FCKConfig.FontFormats	= 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
156
FCKConfig.FontFormats	= 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
157
FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
157
FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
158
FCKConfig.FontSizes		= 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
158
FCKConfig.FontSizes		= 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
159
 
159
 
160
FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
160
FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
161
FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
161
FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
162
 
162
 
163
FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
163
FCKConfig.SpellChecker			= 'WSC' ;	// 'WSC' | 'SpellerPages' | 'ieSpell'
164
FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
164
FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
165
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
165
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
166
FCKConfig.FirefoxSpellChecker	= false ;
166
FCKConfig.FirefoxSpellChecker	= false ;
167
 
167
 
168
FCKConfig.MaxUndoLevels = 15 ;
168
FCKConfig.MaxUndoLevels = 15 ;
169
 
169
 
170
FCKConfig.DisableObjectResizing = false ;
170
FCKConfig.DisableObjectResizing = false ;
171
FCKConfig.DisableFFTableHandles = true ;
171
FCKConfig.DisableFFTableHandles = true ;
172
 
172
 
173
FCKConfig.LinkDlgHideTarget		= false ;
173
FCKConfig.LinkDlgHideTarget		= false ;
174
FCKConfig.LinkDlgHideAdvanced	= false ;
174
FCKConfig.LinkDlgHideAdvanced	= false ;
175
 
175
 
176
FCKConfig.ImageDlgHideLink		= false ;
176
FCKConfig.ImageDlgHideLink		= false ;
177
FCKConfig.ImageDlgHideAdvanced	= false ;
177
FCKConfig.ImageDlgHideAdvanced	= false ;
178
 
178
 
179
FCKConfig.FlashDlgHideAdvanced	= false ;
179
FCKConfig.FlashDlgHideAdvanced	= false ;
180
 
180
 
181
FCKConfig.ProtectedTags = '' ;
181
FCKConfig.ProtectedTags = '' ;
182
 
182
 
183
// This will be applied to the body element of the editor
183
// This will be applied to the body element of the editor
184
FCKConfig.BodyId = '' ;
184
FCKConfig.BodyId = '' ;
185
FCKConfig.BodyClass = '' ;
185
FCKConfig.BodyClass = '' ;
186
 
186
 
187
FCKConfig.DefaultStyleLabel = '' ;
187
FCKConfig.DefaultStyleLabel = '' ;
188
FCKConfig.DefaultFontFormatLabel = '' ;
188
FCKConfig.DefaultFontFormatLabel = '' ;
189
FCKConfig.DefaultFontLabel = '' ;
189
FCKConfig.DefaultFontLabel = '' ;
190
FCKConfig.DefaultFontSizeLabel = '' ;
190
FCKConfig.DefaultFontSizeLabel = '' ;
191
 
191
 
192
FCKConfig.DefaultLinkTarget = '' ;
192
FCKConfig.DefaultLinkTarget = '' ;
193
 
193
 
194
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
194
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
195
FCKConfig.CleanWordKeepsStructure = false ;
195
FCKConfig.CleanWordKeepsStructure = false ;
196
 
196
 
197
// Only inline elements are valid.
197
// Only inline elements are valid.
198
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
198
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
199
 
199
 
200
// Attributes that will be removed
200
// Attributes that will be removed
201
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
201
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
202
 
202
 
203
FCKConfig.CustomStyles =
203
FCKConfig.CustomStyles =
204
{
204
{
205
	'Red Title'	: { Element : 'h3', Styles : { 'color' : 'Red' } }
205
	'Red Title'	: { Element : 'h3', Styles : { 'color' : 'Red' } }
206
};
206
};
207
 
207
 
208
// Do not add, rename or remove styles here. Only apply definition changes.
208
// Do not add, rename or remove styles here. Only apply definition changes.
209
FCKConfig.CoreStyles =
209
FCKConfig.CoreStyles =
210
{
210
{
211
	// Basic Inline Styles.
211
	// Basic Inline Styles.
212
	'Bold'			: { Element : 'strong', Overrides : 'b' },
212
	'Bold'			: { Element : 'strong', Overrides : 'b' },
213
	'Italic'		: { Element : 'em', Overrides : 'i' },
213
	'Italic'		: { Element : 'em', Overrides : 'i' },
214
	'Underline'		: { Element : 'u' },
214
	'Underline'		: { Element : 'u' },
215
	'StrikeThrough'	: { Element : 'strike' },
215
	'StrikeThrough'	: { Element : 'strike' },
216
	'Subscript'		: { Element : 'sub' },
216
	'Subscript'		: { Element : 'sub' },
217
	'Superscript'	: { Element : 'sup' },
217
	'Superscript'	: { Element : 'sup' },
218
 
218
 
219
	// Basic Block Styles (Font Format Combo).
219
	// Basic Block Styles (Font Format Combo).
220
	'p'				: { Element : 'p' },
220
	'p'				: { Element : 'p' },
221
	'div'			: { Element : 'div' },
221
	'div'			: { Element : 'div' },
222
	'pre'			: { Element : 'pre' },
222
	'pre'			: { Element : 'pre' },
223
	'address'		: { Element : 'address' },
223
	'address'		: { Element : 'address' },
224
	'h1'			: { Element : 'h1' },
224
	'h1'			: { Element : 'h1' },
225
	'h2'			: { Element : 'h2' },
225
	'h2'			: { Element : 'h2' },
226
	'h3'			: { Element : 'h3' },
226
	'h3'			: { Element : 'h3' },
227
	'h4'			: { Element : 'h4' },
227
	'h4'			: { Element : 'h4' },
228
	'h5'			: { Element : 'h5' },
228
	'h5'			: { Element : 'h5' },
229
	'h6'			: { Element : 'h6' },
229
	'h6'			: { Element : 'h6' },
230
 
230
 
231
	// Other formatting features.
231
	// Other formatting features.
232
	'FontFace' :
232
	'FontFace' :
233
	{
233
	{
234
		Element		: 'span',
234
		Element		: 'span',
235
		Styles		: { 'font-family' : '#("Font")' },
235
		Styles		: { 'font-family' : '#("Font")' },
236
		Overrides	: [ { Element : 'font', Attributes : { 'face' : null } } ]
236
		Overrides	: [ { Element : 'font', Attributes : { 'face' : null } } ]
237
	},
237
	},
238
 
238
 
239
	'Size' :
239
	'Size' :
240
	{
240
	{
241
		Element		: 'span',
241
		Element		: 'span',
242
		Styles		: { 'font-size' : '#("Size","fontSize")' },
242
		Styles		: { 'font-size' : '#("Size","fontSize")' },
243
		Overrides	: [ { Element : 'font', Attributes : { 'size' : null } } ]
243
		Overrides	: [ { Element : 'font', Attributes : { 'size' : null } } ]
244
	},
244
	},
245
 
245
 
246
	'Color' :
246
	'Color' :
247
	{
247
	{
248
		Element		: 'span',
248
		Element		: 'span',
249
		Styles		: { 'color' : '#("Color","color")' },
249
		Styles		: { 'color' : '#("Color","color")' },
250
		Overrides	: [ { Element : 'font', Attributes : { 'color' : null } } ]
250
		Overrides	: [ { Element : 'font', Attributes : { 'color' : null } } ]
251
	},
251
	},
252
 
252
 
253
	'BackColor'		: { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
253
	'BackColor'		: { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
254
 
254
 
255
	'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
255
	'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
256
};
256
};
257
 
257
 
258
// The distance of an indentation step.
258
// The distance of an indentation step.
259
FCKConfig.IndentLength = 40 ;
259
FCKConfig.IndentLength = 40 ;
260
FCKConfig.IndentUnit = 'px' ;
260
FCKConfig.IndentUnit = 'px' ;
261
 
261
 
262
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
262
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
263
// This overrides the IndentLength/IndentUnit settings.
263
// This overrides the IndentLength/IndentUnit settings.
264
FCKConfig.IndentClasses = [] ;
264
FCKConfig.IndentClasses = [] ;
265
 
265
 
266
// [ Left, Center, Right, Justified ]
266
// [ Left, Center, Right, Justified ]
267
FCKConfig.JustifyClasses = [] ;
267
FCKConfig.JustifyClasses = [] ;
268
 
268
 
269
// The following value defines which File Browser connector and Quick Upload
269
// The following value defines which File Browser connector and Quick Upload
270
// "uploader" to use. It is valid for the default implementaion and it is here
270
// "uploader" to use. It is valid for the default implementaion and it is here
271
// just to make this configuration file cleaner.
271
// just to make this configuration file cleaner.
272
// It is not possible to change this value using an external file or even
272
// It is not possible to change this value using an external file or even
273
// inline when creating the editor instance. In that cases you must set the
273
// inline when creating the editor instance. In that cases you must set the
274
// values of LinkBrowserURL, ImageBrowserURL and so on.
274
// values of LinkBrowserURL, ImageBrowserURL and so on.
275
// Custom implementations should just ignore it.
275
// Custom implementations should just ignore it.
276
var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
276
var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
277
var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
277
var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
278
 
278
 
279
// Don't care about the following two lines. It just calculates the correct connector
279
// Don't care about the following two lines. It just calculates the correct connector
280
// extension to use for the default File Browser (Perl uses "cgi").
280
// extension to use for the default File Browser (Perl uses "cgi").
281
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
281
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
282
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
282
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
283
 
283
 
284
FCKConfig.LinkBrowser = true ;
284
FCKConfig.LinkBrowser = true ;
285
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
285
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
286
FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
286
FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
287
FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
287
FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
288
 
288
 
289
FCKConfig.ImageBrowser = true ;
289
FCKConfig.ImageBrowser = true ;
290
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
290
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
291
FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
291
FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
292
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
292
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
293
 
293
 
294
FCKConfig.FlashBrowser = true ;
294
FCKConfig.FlashBrowser = true ;
295
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
295
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
296
FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
296
FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
297
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
297
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
298
 
298
 
299
FCKConfig.LinkUpload = true ;
299
FCKConfig.LinkUpload = true ;
300
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
300
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
301
FCKConfig.LinkUploadAllowedExtensions	= ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ;			// empty for all
301
FCKConfig.LinkUploadAllowedExtensions	= ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ;			// empty for all
302
FCKConfig.LinkUploadDeniedExtensions	= "" ;	// empty for no one
302
FCKConfig.LinkUploadDeniedExtensions	= "" ;	// empty for no one
303
 
303
 
304
FCKConfig.ImageUpload = true ;
304
FCKConfig.ImageUpload = true ;
305
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
305
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
306
FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png|bmp)$" ;		// empty for all
306
FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png|bmp)$" ;		// empty for all
307
FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
307
FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
308
 
308
 
309
FCKConfig.FlashUpload = true ;
309
FCKConfig.FlashUpload = true ;
310
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
310
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
311
FCKConfig.FlashUploadAllowedExtensions	= ".(swf|flv)$" ;		// empty for all
311
FCKConfig.FlashUploadAllowedExtensions	= ".(swf|flv)$" ;		// empty for all
312
FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
312
FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
313
 
313
 
314
FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
314
FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
315
FCKConfig.SmileyImages	= ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
315
FCKConfig.SmileyImages	= ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
316
FCKConfig.SmileyColumns = 8 ;
316
FCKConfig.SmileyColumns = 8 ;
317
FCKConfig.SmileyWindowWidth		= 320 ;
317
FCKConfig.SmileyWindowWidth		= 320 ;
318
FCKConfig.SmileyWindowHeight	= 210 ;
318
FCKConfig.SmileyWindowHeight	= 210 ;
319
 
319
 
320
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
320
FCKConfig.BackgroundBlockerColor = '#ffffff' ;
321
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
321
FCKConfig.BackgroundBlockerOpacity = 0.50 ;
322
 
322
 
323
FCKConfig.MsWebBrowserControlCompat = false ;
323
FCKConfig.MsWebBrowserControlCompat = false ;
324
 
324
 
325
FCKConfig.PreventSubmitHandler = false ;
325
FCKConfig.PreventSubmitHandler = false ;