Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
431 ddelon 1
/*
2
 * FCKeditor - The text editor for internet
3
 * Copyright (C) 2003-2005 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
 * File Name: fckconfig.js
12
 * 	Editor configuration settings.
13
 * 	See the documentation for more info.
14
 *
15
 * File Authors:
16
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
17
 */
18
 
19
FCKConfig.CustomConfigurationsPath = '' ;
20
 
21
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
22
 
23
FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' ;
24
 
25
FCKConfig.BaseHref = '' ;
26
 
27
FCKConfig.FullPage = false ;
28
 
29
FCKConfig.Debug = false ;
30
 
31
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
32
 
33
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
34
 
35
// FCKConfig.Plugins.Add( 'placeholder', 'en,it' ) ;
36
 
37
FCKConfig.AutoDetectLanguage	= true ;
38
FCKConfig.DefaultLanguage		= 'en' ;
39
FCKConfig.ContentLangDirection	= 'ltr' ;
40
 
41
FCKConfig.EnableXHTML		= true ;	// Unsupported: Do not change.
42
FCKConfig.EnableSourceXHTML	= true ;	// Unsupported: Do not change.
43
 
44
FCKConfig.ProcessHTMLEntities	= true ;
45
FCKConfig.IncludeLatinEntities	= true ;
46
FCKConfig.IncludeGreekEntities	= true ;
47
 
48
FCKConfig.FillEmptyBlocks	= true ;
49
 
50
FCKConfig.FormatSource		= true ;
51
FCKConfig.FormatOutput		= true ;
52
FCKConfig.FormatIndentator	= '    ' ;
53
 
54
FCKConfig.GeckoUseSPAN	= true ;
55
FCKConfig.StartupFocus	= false ;
56
FCKConfig.ForcePasteAsPlainText	= false ;
57
FCKConfig.ForceSimpleAmpersand	= false ;
58
FCKConfig.TabSpaces		= 0 ;
59
FCKConfig.ShowBorders	= true ;
60
FCKConfig.UseBROnCarriageReturn	= false ;
61
FCKConfig.ToolbarStartExpanded	= true ;
62
FCKConfig.ToolbarCanCollapse	= true ;
63
FCKConfig.IEForceVScroll = false ;
64
FCKConfig.IgnoreEmptyParagraphValue = true ;
65
 
66
FCKConfig.ToolbarSets["Default"] = [
67
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
68
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
69
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
70
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
71
	['OrderedList','UnorderedList','-','Outdent','Indent'],
72
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
73
	['Link','Unlink','Anchor'],
74
	['Image','Flash','Table','Rule','Smiley','SpecialChar','UniversalKey'],
75
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
76
	'/',
77
	['Style','FontFormat','FontName','FontSize'],
78
	['TextColor','BGColor'],
79
	['About']
80
] ;
81
 
82
FCKConfig.ToolbarSets["Basic"] = [
83
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
84
] ;
85
 
86
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','TableCell','Table','Form'] ;
87
 
88
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' ;
89
 
90
FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
91
FCKConfig.FontSizes		= '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
92
FCKConfig.FontFormats	= 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
93
 
94
FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
95
FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
96
 
97
FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
98
FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ;
99
 
100
FCKConfig.MaxUndoLevels = 15 ;
101
 
102
FCKConfig.DisableImageHandles = false ;
103
FCKConfig.DisableTableHandles = false ;
104
 
105
FCKConfig.LinkDlgHideTarget		= false ;
106
FCKConfig.LinkDlgHideAdvanced	= false ;
107
 
108
FCKConfig.ImageDlgHideLink		= false ;
109
FCKConfig.ImageDlgHideAdvanced	= false ;
110
 
111
FCKConfig.FlashDlgHideAdvanced	= false ;
112
 
113
FCKConfig.LinkBrowser = true ;
114
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ;
115
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ;
116
// ASP.Net		// FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ;
117
// ColdFusion	// FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/cfm/connector.cfm' ;
118
// Perl			// FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/perl/connector.cgi' ;
119
// PHP			// FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
120
// PHP - mcpuk	// FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ;
121
FCKConfig.LinkBrowserWindowWidth	= screen.width * 0.7 ;	// 70%
122
FCKConfig.LinkBrowserWindowHeight	= screen.height * 0.7 ;	// 70%
123
 
124
FCKConfig.ImageBrowser = true ;
125
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ;
126
// ASP.Net		// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ;
127
// ColdFusion	// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/cfm/connector.cfm' ;
128
// Perl			// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/perl/connector.cgi' ;
129
// PHP			// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
130
// PHP - mcpuk	// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
131
FCKConfig.ImageBrowserWindowWidth  = screen.width * 0.7 ;	// 70% ;
132
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ;	// 70% ;
133
 
134
FCKConfig.FlashBrowser = true ;
135
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/asp/connector.asp' ;
136
// ASP.Net		// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/aspx/connector.aspx' ;
137
// ColdFusion	// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/cfm/connector.cfm' ;
138
// Perl			// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/perl/connector.cgi' ;
139
// PHP			// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
140
// PHP - mcpuk	// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
141
FCKConfig.FlashBrowserWindowWidth  = screen.width * 0.7 ;	//70% ;
142
FCKConfig.FlashBrowserWindowHeight = screen.height * 0.7 ;	//70% ;
143
 
144
FCKConfig.LinkUpload = true ;
145
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp' ;
146
// PHP // FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
147
FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
148
FCKConfig.LinkUploadDeniedExtensions	= ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;	// empty for no one
149
 
150
FCKConfig.ImageUpload = true ;
151
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Image' ;
152
// PHP // FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
153
FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png)$" ;		// empty for all
154
FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
155
 
156
FCKConfig.FlashUpload = true ;
157
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Flash' ;
158
// PHP // FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ;
159
FCKConfig.FlashUploadAllowedExtensions	= ".(swf|fla)$" ;		// empty for all
160
FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
161
 
162
FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
163
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'] ;
164
FCKConfig.SmileyColumns = 8 ;
165
FCKConfig.SmileyWindowWidth		= 320 ;
166
FCKConfig.SmileyWindowHeight	= 240 ;
167
 
168
if( window.console ) window.console.log( 'Config is loaded!' ) ;	// @Packager.Compactor.RemoveLine