Subversion Repositories Applications.papyrus

Rev

Rev 1726 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1726 Rev 1921
Line 1... Line 1...
1
/*
1
/*
2
 * FCKeditor - The text editor for internet
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
-
 
4
 *
-
 
5
 * == BEGIN LICENSE ==
4
 * 
6
 *
5
 * Licensed under the terms of the GNU Lesser General Public License:
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")
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
11
 *    http://www.gnu.org/licenses/gpl.html
7
 * 
12
 *
8
 * For further information visit:
13
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
9
 * 		http://www.fckeditor.net/
14
 *    http://www.gnu.org/licenses/lgpl.html
10
 * 
15
 *
11
 * "Support Open Source software. What about a donation today?"
16
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
-
 
17
 *    http://www.mozilla.org/MPL/MPL-1.1.html
12
 * 
18
 *
13
 * File Name: fckconfig.js
19
 * == END LICENSE ==
-
 
20
 *
14
 * 	Editor configuration settings.
21
 * Editor configuration settings.
15
 * 	
22
 *
16
 * 	Follow this link for more information:
23
 * Follow this link for more information:
17
 * 	http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
24
 * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
18
 * 
-
 
19
 * File Authors:
-
 
20
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
-
 
21
 */
25
 */
Line 22... Line 26...
22
 
26
 
Line 23... Line 27...
23
FCKConfig.CustomConfigurationsPath = '' ;
27
FCKConfig.CustomConfigurationsPath = '' ;
-
 
28
 
24
 
29
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
Line 25... Line 30...
25
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
30
FCKConfig.EditorAreaStyles = '' ;
Line 26... Line 31...
26
FCKConfig.ToolbarComboPreviewCSS = '' ;
31
FCKConfig.ToolbarComboPreviewCSS = '' ;
Line 27... Line 32...
27
 
32
 
Line -... Line 33...
-
 
33
FCKConfig.DocType = '' ;
-
 
34
 
-
 
35
FCKConfig.BaseHref = '' ;
28
FCKConfig.DocType = '' ;
36
 
29
 
37
FCKConfig.FullPage = false ;
Line 30... Line 38...
30
FCKConfig.BaseHref = '' ;
38
 
-
 
39
// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
-
 
40
FCKConfig.StartupShowBlocks = false ;
-
 
41
 
31
 
42
FCKConfig.Debug = false ;
Line 32... Line 43...
32
FCKConfig.FullPage = false ;
43
FCKConfig.AllowQueryStringDebug = true ;
Line 33... Line 44...
33
 
44
 
-
 
45
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
34
FCKConfig.Debug = false ;
46
FCKConfig.SkinEditorCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
Line 35... Line 47...
35
FCKConfig.AllowQueryStringDebug = true ;
47
FCKConfig.SkinDialogCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
36
 
48
 
37
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
49
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
Line 62... Line 74...
62
 
74
 
63
FCKConfig.FormatSource		= true ;
75
FCKConfig.FormatSource		= true ;
64
FCKConfig.FormatOutput		= true ;
76
FCKConfig.FormatOutput		= true ;
Line 65... Line 77...
65
FCKConfig.FormatIndentator	= '    ' ;
77
FCKConfig.FormatIndentator	= '    ' ;
66
 
78
 
-
 
79
FCKConfig.EMailProtection = 'encode' ; // none | encode | function
67
FCKConfig.ForceStrongEm = true ;
80
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
68
FCKConfig.GeckoUseSPAN	= false ;
81
 
69
FCKConfig.StartupFocus	= false ;
82
FCKConfig.StartupFocus	= false ;
-
 
83
FCKConfig.ForcePasteAsPlainText	= false ;
70
FCKConfig.ForcePasteAsPlainText	= false ;
84
FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
71
FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
85
FCKConfig.ShowDropDialog = true ;
72
FCKConfig.ForceSimpleAmpersand	= false ;
86
FCKConfig.ForceSimpleAmpersand	= false ;
73
FCKConfig.TabSpaces		= 0 ;
87
FCKConfig.TabSpaces		= 0 ;
74
FCKConfig.ShowBorders	= true ;
-
 
75
FCKConfig.SourcePopup	= false ;
88
FCKConfig.ShowBorders	= true ;
76
FCKConfig.UseBROnCarriageReturn	= false ;	// IE only.
89
FCKConfig.SourcePopup	= false ;
77
FCKConfig.ToolbarStartExpanded	= true ;
90
FCKConfig.ToolbarStartExpanded	= true ;
78
FCKConfig.ToolbarCanCollapse	= true ;
-
 
79
FCKConfig.IgnoreEmptyParagraphValue = true ;
91
FCKConfig.ToolbarCanCollapse	= true ;
-
 
92
FCKConfig.IgnoreEmptyParagraphValue = true ;
Line 80... Line 93...
80
FCKConfig.PreserveSessionOnFileBrowser = false ;
93
FCKConfig.FloatingPanelsZIndex = 10000 ;
81
FCKConfig.FloatingPanelsZIndex = 10000 ;
94
FCKConfig.HtmlEncodeOutput = false ;
Line 82... Line 95...
82
 
95
 
Line 90... Line 103...
90
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
103
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
91
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
104
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
92
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
105
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
93
	'/',
106
	'/',
94
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
107
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
95
	['OrderedList','UnorderedList','-','Outdent','Indent'],
108
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
96
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
109
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
97
	['Link','Unlink','Anchor'],
110
	['Link','Unlink','Anchor'],
98
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
111
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
99
	'/',
112
	'/',
100
	['Style','FontFormat','FontName','FontSize'],
113
	['Style','FontFormat','FontName','FontSize'],
101
	['TextColor','BGColor'],
114
	['TextColor','BGColor'],
102
	['FitWindow','-','About']
115
	['FitWindow','ShowBlocks','-','About']		// No comma for the last row.
103
] ;
116
] ;
Line 104... Line 117...
104
 
117
 
105
FCKConfig.ToolbarSets["Basic"] = [
118
FCKConfig.ToolbarSets["Basic"] = [
106
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
119
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
Line -... Line 120...
-
 
120
] ;
-
 
121
 
-
 
122
FCKConfig.EnterMode = 'p' ;			// p | div | br
-
 
123
FCKConfig.ShiftEnterMode = 'br' ;	// p | div | br
-
 
124
 
-
 
125
FCKConfig.Keystrokes = [
-
 
126
	[ CTRL + 65 /*A*/, true ],
-
 
127
	[ CTRL + 67 /*C*/, true ],
-
 
128
	[ CTRL + 70 /*F*/, true ],
-
 
129
	[ CTRL + 83 /*S*/, true ],
-
 
130
	[ CTRL + 84 /*T*/, true ],
-
 
131
	[ CTRL + 88 /*X*/, true ],
-
 
132
	[ CTRL + 86 /*V*/, 'Paste' ],
-
 
133
	[ CTRL + 45 /*INS*/, true ],
-
 
134
	[ SHIFT + 45 /*INS*/, 'Paste' ],
-
 
135
	[ CTRL + 88 /*X*/, 'Cut' ],
-
 
136
	[ SHIFT + 46 /*DEL*/, 'Cut' ],
-
 
137
	[ CTRL + 90 /*Z*/, 'Undo' ],
-
 
138
	[ CTRL + 89 /*Y*/, 'Redo' ],
-
 
139
	[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
-
 
140
	[ CTRL + 76 /*L*/, 'Link' ],
-
 
141
	[ CTRL + 66 /*B*/, 'Bold' ],
-
 
142
	[ CTRL + 73 /*I*/, 'Italic' ],
-
 
143
	[ CTRL + 85 /*U*/, 'Underline' ],
-
 
144
	[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
-
 
145
	[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
-
 
146
	[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
107
] ;
147
] ;
-
 
148
 
-
 
149
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
Line -... Line 150...
-
 
150
FCKConfig.BrowserContextMenuOnCtrl = false ;
108
 
151
FCKConfig.BrowserContextMenu = false ;
Line -... Line 152...
-
 
152
 
109
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
153
FCKConfig.EnableMoreFontColors = true ;
110
 
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' ;
111
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' ;
-
 
Line 112... Line 155...
112
 
155
 
113
FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
156
FCKConfig.FontFormats	= 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
Line 114... Line 157...
114
FCKConfig.FontSizes		= '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
157
FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
115
FCKConfig.FontFormats	= 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
158
FCKConfig.FontSizes		= 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
-
 
159
 
-
 
160
FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
Line 116... Line 161...
116
 
161
FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
Line 117... Line 162...
117
FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
162
 
118
FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
163
FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
Line 131... Line 176...
131
FCKConfig.ImageDlgHideLink		= false ;
176
FCKConfig.ImageDlgHideLink		= false ;
132
FCKConfig.ImageDlgHideAdvanced	= false ;
177
FCKConfig.ImageDlgHideAdvanced	= false ;
Line 133... Line 178...
133
 
178
 
Line -... Line 179...
-
 
179
FCKConfig.FlashDlgHideAdvanced	= false ;
-
 
180
 
-
 
181
FCKConfig.ProtectedTags = '' ;
-
 
182
 
-
 
183
// This will be applied to the body element of the editor
-
 
184
FCKConfig.BodyId = '' ;
-
 
185
FCKConfig.BodyClass = '' ;
-
 
186
 
-
 
187
FCKConfig.DefaultStyleLabel = '' ;
-
 
188
FCKConfig.DefaultFontFormatLabel = '' ;
-
 
189
FCKConfig.DefaultFontLabel = '' ;
-
 
190
FCKConfig.DefaultFontSizeLabel = '' ;
-
 
191
 
-
 
192
FCKConfig.DefaultLinkTarget = '' ;
-
 
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
-
 
195
FCKConfig.CleanWordKeepsStructure = false ;
-
 
196
 
-
 
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' ;
-
 
199
 
-
 
200
// Attributes that will be removed
-
 
201
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
-
 
202
 
-
 
203
FCKConfig.CustomStyles =
-
 
204
{
-
 
205
	'Red Title'	: { Element : 'h3', Styles : { 'color' : 'Red' } }
-
 
206
};
-
 
207
 
-
 
208
// Do not add, rename or remove styles here. Only apply definition changes.
-
 
209
FCKConfig.CoreStyles =
-
 
210
{
-
 
211
	// Basic Inline Styles.
-
 
212
	'Bold'			: { Element : 'strong', Overrides : 'b' },
-
 
213
	'Italic'		: { Element : 'em', Overrides : 'i' },
-
 
214
	'Underline'		: { Element : 'u' },
-
 
215
	'StrikeThrough'	: { Element : 'strike' },
-
 
216
	'Subscript'		: { Element : 'sub' },
-
 
217
	'Superscript'	: { Element : 'sup' },
-
 
218
 
-
 
219
	// Basic Block Styles (Font Format Combo).
-
 
220
	'p'				: { Element : 'p' },
-
 
221
	'div'			: { Element : 'div' },
-
 
222
	'pre'			: { Element : 'pre' },
-
 
223
	'address'		: { Element : 'address' },
-
 
224
	'h1'			: { Element : 'h1' },
-
 
225
	'h2'			: { Element : 'h2' },
-
 
226
	'h3'			: { Element : 'h3' },
-
 
227
	'h4'			: { Element : 'h4' },
-
 
228
	'h5'			: { Element : 'h5' },
-
 
229
	'h6'			: { Element : 'h6' },
-
 
230
 
-
 
231
	// Other formatting features.
-
 
232
	'FontFace' :
-
 
233
	{
-
 
234
		Element		: 'span',
-
 
235
		Styles		: { 'font-family' : '#("Font")' },
-
 
236
		Overrides	: [ { Element : 'font', Attributes : { 'face' : null } } ]
-
 
237
	},
-
 
238
 
-
 
239
	'Size' :
-
 
240
	{
-
 
241
		Element		: 'span',
-
 
242
		Styles		: { 'font-size' : '#("Size","fontSize")' },
-
 
243
		Overrides	: [ { Element : 'font', Attributes : { 'size' : null } } ]
-
 
244
	},
-
 
245
 
-
 
246
	'Color' :
-
 
247
	{
-
 
248
		Element		: 'span',
-
 
249
		Styles		: { 'color' : '#("Color","color")' },
-
 
250
		Overrides	: [ { Element : 'font', Attributes : { 'color' : null } } ]
-
 
251
	},
-
 
252
 
-
 
253
	'BackColor'		: { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
-
 
254
 
-
 
255
	'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
-
 
256
};
-
 
257
 
-
 
258
// The distance of an indentation step.
-
 
259
FCKConfig.IndentLength = 40 ;
-
 
260
FCKConfig.IndentUnit = 'px' ;
-
 
261
 
-
 
262
// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
-
 
263
// This overrides the IndentLength/IndentUnit settings.
-
 
264
FCKConfig.IndentClasses = [] ;
-
 
265
 
-
 
266
// [ Left, Center, Right, Justified ]
134
FCKConfig.FlashDlgHideAdvanced	= false ;
267
FCKConfig.JustifyClasses = [] ;
135
 
268
 
136
// The following value defines which File Browser connector and Quick Upload 
269
// The following value defines which File Browser connector and Quick Upload
137
// "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
138
// just to make this configuration file cleaner. 
271
// just to make this configuration file cleaner.
139
// 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
140
// 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
141
// values of LinkBrowserURL, ImageBrowserURL and so on.
274
// values of LinkBrowserURL, ImageBrowserURL and so on.
142
// Custom implementations should just ignore it.
275
// Custom implementations should just ignore it.
Line 143... Line 276...
143
var _FileBrowserLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | perl | php | py
276
var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
144
var _QuickUploadLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | php
277
var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
145
 
278
 
-
 
279
// Don't care about the following two lines. It just calculates the correct connector
Line 146... Line 280...
146
// Don't care about the following line. It just calculates the correct connector 
280
// extension to use for the default File Browser (Perl uses "cgi").
147
// extension to use for the default File Browser (Perl uses "cgi").
281
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
148
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
282
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
149
 
283
 
Line 150... Line 284...
150
FCKConfig.LinkBrowser = true ;
284
FCKConfig.LinkBrowser = true ;
151
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
285
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
152
FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
286
FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
153
FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
287
FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
Line 154... Line 288...
154
 
288
 
155
FCKConfig.ImageBrowser = true ;
289
FCKConfig.ImageBrowser = true ;
156
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=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 ) ;
157
FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
291
FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
Line 158... Line 292...
158
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
292
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
159
 
293
 
160
FCKConfig.FlashBrowser = true ;
294
FCKConfig.FlashBrowser = true ;
161
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=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 ) ;
Line 162... Line 296...
162
FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
296
FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
163
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
297
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
164
 
298
 
165
FCKConfig.LinkUpload = true ;
299
FCKConfig.LinkUpload = true ;
Line 166... Line 300...
166
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
300
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
167
FCKConfig.LinkUploadAllowedExtensions	= "" ;			// 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
168
FCKConfig.LinkUploadDeniedExtensions	= ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;	// empty for no one
302
FCKConfig.LinkUploadDeniedExtensions	= "" ;	// empty for no one
169
 
303
 
Line 170... Line 304...
170
FCKConfig.ImageUpload = true ;
304
FCKConfig.ImageUpload = true ;
171
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
305
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
172
FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png)$" ;		// empty for all
306
FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png|bmp)$" ;		// empty for all
173
FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
307
FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
174
 
-
 
175
FCKConfig.FlashUpload = true ;
308
 
-
 
309
FCKConfig.FlashUpload = true ;
-
 
310
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
-
 
311
FCKConfig.FlashUploadAllowedExtensions	= ".(swf|flv)$" ;		// empty for all
-
 
312
FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
-
 
313
 
-
 
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'] ;
-
 
316
FCKConfig.SmileyColumns = 8 ;