Subversion Repositories Applications.papyrus

Rev

Rev 424 | Rev 436 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 424 Rev 431
Line 24... Line 24...
24
 
24
 
Line 25... Line 25...
25
FCKConfig.BaseHref = '' ;
25
FCKConfig.BaseHref = '' ;
Line 26... Line 26...
26
 
26
 
Line 27... Line 27...
27
FCKConfig.FullPage = false ;
27
FCKConfig.FullPage = false ;
Line 28... Line 28...
28
 
28
 
Line 29... Line 29...
29
FCKConfig.Debug = true ;
29
FCKConfig.Debug = false ;
Line 30... Line 30...
30
 
30
 
31
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
31
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
32
 
32
 
Line 33... Line 33...
33
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
33
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
34
 
34
 
Line 35... Line 35...
35
// FCKConfig.Plugins.Add( 'placeholder', 'en,it' ) ;
35
// FCKConfig.Plugins.Add( 'placeholder', 'en,it' ) ;
36
 
36
 
37
FCKConfig.AutoDetectLanguage	= true ;
37
FCKConfig.AutoDetectLanguage	= true ;
Line 58... Line 58...
58
FCKConfig.TabSpaces		= 0 ;
58
FCKConfig.TabSpaces		= 0 ;
59
FCKConfig.ShowBorders	= true ;
59
FCKConfig.ShowBorders	= true ;
60
FCKConfig.UseBROnCarriageReturn	= false ;
60
FCKConfig.UseBROnCarriageReturn	= false ;
61
FCKConfig.ToolbarStartExpanded	= true ;
61
FCKConfig.ToolbarStartExpanded	= true ;
62
FCKConfig.ToolbarCanCollapse	= true ;
62
FCKConfig.ToolbarCanCollapse	= true ;
-
 
63
FCKConfig.IEForceVScroll = false ;
-
 
64
FCKConfig.IgnoreEmptyParagraphValue = true ;
Line 63... Line 65...
63
 
65
 
64
FCKConfig.ToolbarSets["Default"] = [
66
FCKConfig.ToolbarSets["Default"] = [
65
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
67
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
66
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
68
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
67
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
69
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
68
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
70
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
69
	['OrderedList','UnorderedList','-','Outdent','Indent'],
71
	['OrderedList','UnorderedList','-','Outdent','Indent'],
70
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
72
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
71
	['Link','Unlink','Anchor'],
73
	['Link','Unlink','Anchor'],
72
	['Image','Table','Rule','Smiley','SpecialChar','UniversalKey'],
74
	['Image','Flash','Table','Rule','Smiley','SpecialChar','UniversalKey'],
73
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
75
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
74
	'/',
76
	'/',
75
	['Style','FontFormat','FontName','FontSize'],
77
	['Style','FontFormat','FontName','FontSize'],
76
	['TextColor','BGColor'],
78
	['TextColor','BGColor'],
77
	['About']
79
	['About']
Line 78... Line 80...
78
] ;
80
] ;
79
 
81
 
80
FCKConfig.ToolbarSets["Basic"] = [
82
FCKConfig.ToolbarSets["Basic"] = [
81
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
-
 
82
] ;
83
	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
83
 
84
] ;
84
FCKConfig.ToolbarSets["Papyrus"] = [
85
FCKConfig.ToolbarSets["Papyrus"] = [
85
  ['Source','-','Cut','Copy','Paste','PasteText','PasteWord','SelectAll','-','Undo','Redo','Find','Replace'],
86
  ['Source','Preview','-','Cut','Copy','Paste','PasteText','PasteWord','SelectAll','-','Undo','Redo','Find','Replace'],
86
  ['RemoveFormat','Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','OrderedList','UnorderedList','-','Link','Unlink'],
-
 
87
  ['Image','Table','Rule','SpecialChar','UniversalKey','-'],
87
  ['RemoveFormat','Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','OrderedList','UnorderedList'],
88
  '/',
-
 
89
  ['FontFormat','FontName','FontSize'],
88
  ['Image','Table','Link','Unlink','Rule','SpecialChar','UniversalKey'],
90
  ['TextColor'],
89
  ['FontFormat','FontName','FontSize','TextColor'],
Line 91... Line 90...
91
  ['About']
90
  ['About']
Line 92... Line 91...
92
] ;
91
] ;
Line 93... Line 92...
93
 
92
 
94
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','TableCell','Table','Form'] ;
93
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','TableCell','Table','Form'] ;
Line 105... Line 104...
105
FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
104
FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
106
FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ;
105
FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ;
Line 107... Line 106...
107
 
106
 
Line -... Line 107...
-
 
107
FCKConfig.MaxUndoLevels = 15 ;
-
 
108
 
-
 
109
FCKConfig.DisableImageHandles = false ;
108
FCKConfig.MaxUndoLevels = 15 ;
110
FCKConfig.DisableTableHandles = false ;
109
 
111
 
Line 110... Line 112...
110
FCKConfig.LinkDlgHideTarget		= false ;
112
FCKConfig.LinkDlgHideTarget		= false ;
111
FCKConfig.LinkDlgHideAdvanced	= false ;
113
FCKConfig.LinkDlgHideAdvanced	= false ;
Line -... Line 114...
-
 
114
 
-
 
115
FCKConfig.ImageDlgHideLink		= false ;
112
 
116
FCKConfig.ImageDlgHideAdvanced	= false ;
113
FCKConfig.ImageDlgHideLink		= false ;
117
 
114
FCKConfig.ImageDlgHideAdvanced	= false ;
118
FCKConfig.FlashDlgHideAdvanced	= false ;
115
 
119
 
116
FCKConfig.LinkBrowser = true ;
120
FCKConfig.LinkBrowser = true ;
Line 134... Line 138...
134
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
138
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
135
// PHP - mcpuk	// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
139
// PHP - mcpuk	// FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
136
FCKConfig.ImageBrowserWindowWidth  = screen.width * 0.7 ;	// 70% ;
140
FCKConfig.ImageBrowserWindowWidth  = screen.width * 0.7 ;	// 70% ;
137
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ;	// 70% ;
141
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ;	// 70% ;
Line -... Line 142...
-
 
142
 
-
 
143
FCKConfig.FlashBrowser = true ;
-
 
144
//FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/asp/connector.asp' ;
-
 
145
// ASP.Net		// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/aspx/connector.aspx' ;
-
 
146
// ColdFusion	// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/cfm/connector.cfm' ;
-
 
147
// Perl			// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/perl/connector.cgi' ;
-
 
148
// PHP			// 
-
 
149
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
-
 
150
// PHP - mcpuk	// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
-
 
151
FCKConfig.FlashBrowserWindowWidth  = screen.width * 0.7 ;	//70% ;
-
 
152
FCKConfig.FlashBrowserWindowHeight = screen.height * 0.7 ;	//70% ;
-
 
153
 
-
 
154
FCKConfig.LinkUpload = true ;
-
 
155
//FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp' ;
-
 
156
// PHP // 
-
 
157
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
-
 
158
FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
-
 
159
FCKConfig.LinkUploadDeniedExtensions	= ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;	// empty for no one
-
 
160
 
-
 
161
FCKConfig.ImageUpload = true ;
-
 
162
//FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Image' ;
-
 
163
// PHP // 
-
 
164
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
-
 
165
FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png)$" ;		// empty for all
-
 
166
FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
-
 
167
 
-
 
168
FCKConfig.FlashUpload = true ;
-
 
169
//FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Flash' ;
-
 
170
// PHP // 
-
 
171
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ;
-
 
172
FCKConfig.FlashUploadAllowedExtensions	= ".(swf|fla)$" ;		// empty for all
-
 
173
FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
138
 
174
 
139
FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
175
FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
140
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'] ;
176
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'] ;
141
FCKConfig.SmileyColumns = 8 ;
177
FCKConfig.SmileyColumns = 8 ;
142
FCKConfig.SmileyWindowWidth		= 320 ;
178
FCKConfig.SmileyWindowWidth		= 320 ;
143
FCKConfig.SmileyWindowHeight	= 240 ;
179
FCKConfig.SmileyWindowHeight	= 240 ;
-
 
180
 
-
 
181
if( window.console ) window.console.log( 'Config is loaded!' ) ;	// @Packager.Compactor.RemoveLine
144
182