Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* FCKeditor - The text editor for internet
|
2 |
* FCKeditor - The text editor for internet
|
3 |
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
|
3 |
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
|
4 |
*
|
4 |
*
|
5 |
* Licensed under the terms of the GNU Lesser General Public License:
|
5 |
* Licensed under the terms of the GNU Lesser General Public License:
|
6 |
* http://www.opensource.org/licenses/lgpl-license.php
|
6 |
* http://www.opensource.org/licenses/lgpl-license.php
|
Line 47... |
Line 47... |
47 |
|
47 |
|
Line 48... |
Line 48... |
48 |
FCKConfig.FillEmptyBlocks = true ;
|
48 |
FCKConfig.FillEmptyBlocks = true ;
|
49 |
|
49 |
|
50 |
FCKConfig.FormatSource = true ;
|
50 |
FCKConfig.FormatSource = true ;
|
Line 51... |
Line 51... |
51 |
FCKConfig.FormatOutput = true ;
|
51 |
FCKConfig.FormatOutput = true ;
|
52 |
FCKConfig.FormatIndentator = ' ' ;
|
52 |
FCKConfig.FormatIndentator = '\t' ;
|
53 |
|
53 |
|
54 |
FCKConfig.GeckoUseSPAN = true ;
|
54 |
FCKConfig.GeckoUseSPAN = true ;
|
Line 117... |
Line 117... |
117 |
FCKConfig.ImageDlgHideAdvanced = false ;
|
117 |
FCKConfig.ImageDlgHideAdvanced = false ;
|
Line 118... |
Line 118... |
118 |
|
118 |
|
Line 119... |
Line 119... |
119 |
FCKConfig.FlashDlgHideAdvanced = false ;
|
119 |
FCKConfig.FlashDlgHideAdvanced = false ;
|
120 |
|
- |
|
121 |
FCKConfig.LinkBrowser = true ;
|
- |
|
122 |
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ;
|
- |
|
123 |
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ;
|
- |
|
124 |
// ASP.Net // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ;
|
- |
|
125 |
// ColdFusion // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/cfm/connector.cfm' ;
|
120 |
|
126 |
// Perl // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/perl/connector.cgi' ;
|
121 |
FCKConfig.LinkBrowser = true ;
|
127 |
// PHP //
|
122 |
// PHP //
|
128 |
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
|
123 |
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
|
129 |
// PHP - mcpuk
|
124 |
// PHP - mcpuk
|
130 |
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ;
|
125 |
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ;
|
Line 131... |
Line 126... |
131 |
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
|
126 |
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
|
132 |
FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70%
|
- |
|
133 |
|
- |
|
134 |
FCKConfig.ImageBrowser = true ;
|
- |
|
135 |
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ;
|
- |
|
136 |
// ASP.Net // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ;
|
127 |
FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70%
|
137 |
// ColdFusion // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/cfm/connector.cfm' ;
|
128 |
|
138 |
// Perl // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/perl/connector.cgi' ;
|
129 |
FCKConfig.ImageBrowser = true ;
|
139 |
// PHP //
|
130 |
// PHP //
|
140 |
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
|
131 |
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
|
141 |
// PHP - mcpuk
|
132 |
// PHP - mcpuk
|
Line 142... |
Line 133... |
142 |
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
|
133 |
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
|
143 |
FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ;
|
- |
|
144 |
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ;
|
- |
|
145 |
|
- |
|
146 |
FCKConfig.FlashBrowser = true ;
|
- |
|
147 |
//FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/asp/connector.asp' ;
|
134 |
FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ;
|
148 |
// ASP.Net // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/aspx/connector.aspx' ;
|
135 |
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ;
|
149 |
// ColdFusion // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/cfm/connector.cfm' ;
|
136 |
|
150 |
// Perl // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/perl/connector.cgi' ;
|
137 |
FCKConfig.FlashBrowser = true ;
|
151 |
// PHP //
|
138 |
// PHP //
|
152 |
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
|
139 |
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
|
Line 153... |
Line 140... |
153 |
// PHP - mcpuk
|
140 |
// PHP - mcpuk
|
154 |
// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
|
- |
|
155 |
FCKConfig.FlashBrowserWindowWidth = screen.width * 0.7 ; //70% ;
|
141 |
// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
|
156 |
FCKConfig.FlashBrowserWindowHeight = screen.height * 0.7 ; //70% ;
|
142 |
FCKConfig.FlashBrowserWindowWidth = screen.width * 0.7 ; //70% ;
|
157 |
|
143 |
FCKConfig.FlashBrowserWindowHeight = screen.height * 0.7 ; //70% ;
|
158 |
FCKConfig.LinkUpload = true ;
|
144 |
|
Line 159... |
Line 145... |
159 |
//FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp' ;
|
145 |
FCKConfig.LinkUpload = true ;
|
160 |
// PHP //
|
- |
|
161 |
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
|
146 |
// PHP //
|
162 |
FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all
|
147 |
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
|
163 |
FCKConfig.LinkUploadDeniedExtensions = ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ; // empty for no one
|
148 |
FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all
|
164 |
|
149 |
FCKConfig.LinkUploadDeniedExtensions = ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ; // empty for no one
|
Line 165... |
Line 150... |
165 |
FCKConfig.ImageUpload = true ;
|
150 |
|
166 |
//FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Image' ;
|
- |
|
167 |
// PHP //
|
151 |
FCKConfig.ImageUpload = true ;
|
168 |
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
|
152 |
// PHP //
|
169 |
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png)$" ; // empty for all
|
153 |
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
|
170 |
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
154 |
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png)$" ; // empty for all
|