"rearanged t features and layout of eGW's toolsbars a bit for more consitensy and extended the extended mode"

This commit is contained in:
Ralf Becker 2007-04-14 16:56:04 +00:00
parent ba75b6761a
commit 5aad1fc35a

View File

@ -1,253 +1,261 @@
/* /*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net * FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben * Copyright (C) 2003-2007 Frederico Caldeira Knabben
* *
* == BEGIN LICENSE == * == BEGIN LICENSE ==
* *
* Licensed under the terms of any of the following licenses at your * Licensed under the terms of any of the following licenses at your
* choice: * choice:
* *
* - GNU General Public License Version 2 or later (the "GPL") * - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
* *
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
* http://www.gnu.org/licenses/lgpl.html * http://www.gnu.org/licenses/lgpl.html
* *
* - Mozilla Public License Version 1.1 or later (the "MPL") * - Mozilla Public License Version 1.1 or later (the "MPL")
* http://www.mozilla.org/MPL/MPL-1.1.html * http://www.mozilla.org/MPL/MPL-1.1.html
* *
* == END LICENSE == * == END LICENSE ==
* *
* Editor configuration settings. * Editor configuration settings.
* *
* Follow this link for more information: * Follow this link for more information:
* http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
*/ */
// Disable the custom Enter Key Handler. This option will be removed in version 2.5. // Disable the custom Enter Key Handler. This option will be removed in version 2.5.
FCKConfig.DisableEnterKeyHandler = false ; FCKConfig.DisableEnterKeyHandler = false ;
FCKConfig.CustomConfigurationsPath = '' ; FCKConfig.CustomConfigurationsPath = '' ;
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
FCKConfig.ToolbarComboPreviewCSS = '' ; FCKConfig.ToolbarComboPreviewCSS = '' ;
FCKConfig.DocType = '' ; FCKConfig.DocType = '' ;
FCKConfig.BaseHref = '' ; FCKConfig.BaseHref = '' ;
FCKConfig.FullPage = false ; FCKConfig.FullPage = false ;
FCKConfig.Debug = false ; FCKConfig.Debug = false ;
FCKConfig.AllowQueryStringDebug = true ; FCKConfig.AllowQueryStringDebug = true ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
// FCKConfig.Plugins.Add( 'autogrow' ) ; // FCKConfig.Plugins.Add( 'autogrow' ) ;
FCKConfig.AutoGrowMax = 400 ; FCKConfig.AutoGrowMax = 400 ;
// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> // FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>
// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code // FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> // FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control>
FCKConfig.AutoDetectLanguage = true ; FCKConfig.AutoDetectLanguage = true ;
FCKConfig.DefaultLanguage = 'en' ; FCKConfig.DefaultLanguage = 'en' ;
FCKConfig.ContentLangDirection = 'ltr' ; FCKConfig.ContentLangDirection = 'ltr' ;
FCKConfig.ProcessHTMLEntities = true ; FCKConfig.ProcessHTMLEntities = true ;
FCKConfig.IncludeLatinEntities = true ; FCKConfig.IncludeLatinEntities = true ;
FCKConfig.IncludeGreekEntities = true ; FCKConfig.IncludeGreekEntities = true ;
FCKConfig.ProcessNumericEntities = false ; FCKConfig.ProcessNumericEntities = false ;
FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'"
FCKConfig.FillEmptyBlocks = true ; FCKConfig.FillEmptyBlocks = true ;
FCKConfig.FormatSource = true ; FCKConfig.FormatSource = true ;
FCKConfig.FormatOutput = true ; FCKConfig.FormatOutput = true ;
FCKConfig.FormatIndentator = ' ' ; FCKConfig.FormatIndentator = ' ' ;
FCKConfig.ForceStrongEm = true ; FCKConfig.ForceStrongEm = true ;
FCKConfig.GeckoUseSPAN = false ; FCKConfig.GeckoUseSPAN = false ;
FCKConfig.StartupFocus = false ; FCKConfig.StartupFocus = false ;
FCKConfig.ForcePasteAsPlainText = false ; FCKConfig.ForcePasteAsPlainText = false ;
FCKConfig.AutoDetectPasteFromWord = true ; // IE only. FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
FCKConfig.ForceSimpleAmpersand = false ; FCKConfig.ForceSimpleAmpersand = false ;
FCKConfig.TabSpaces = 0 ; FCKConfig.TabSpaces = 0 ;
FCKConfig.ShowBorders = true ; FCKConfig.ShowBorders = true ;
FCKConfig.SourcePopup = false ; FCKConfig.SourcePopup = false ;
FCKConfig.ToolbarStartExpanded = true ; FCKConfig.ToolbarStartExpanded = true ;
FCKConfig.ToolbarCanCollapse = true ; FCKConfig.ToolbarCanCollapse = true ;
FCKConfig.IgnoreEmptyParagraphValue = true ; FCKConfig.IgnoreEmptyParagraphValue = true ;
FCKConfig.PreserveSessionOnFileBrowser = false ; FCKConfig.PreserveSessionOnFileBrowser = false ;
FCKConfig.FloatingPanelsZIndex = 10000 ; FCKConfig.FloatingPanelsZIndex = 10000 ;
FCKConfig.TemplateReplaceAll = true ; FCKConfig.TemplateReplaceAll = true ;
FCKConfig.TemplateReplaceCheckbox = true ; FCKConfig.TemplateReplaceCheckbox = true ;
FCKConfig.ToolbarLocation = 'In' ; FCKConfig.ToolbarLocation = 'In' ;
FCKConfig.ToolbarSets["Default"] = [ FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/', '/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'], ['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'], ['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/', '/',
['Style','FontFormat','FontName','FontSize'], ['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'], ['TextColor','BGColor'],
['FitWindow','-','About'] ['FitWindow','-','About']
] ; ] ;
FCKConfig.ToolbarSets["Basic"] = [ FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ; ] ;
FCKConfig.ToolbarSets["egw_simple"] = [ FCKConfig.ToolbarSets["egw_simple"] = [
['Bold','Italic','Underline','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','UnorderedList','OrderedList','Outdent','Indent','Undo','Redo'], ['Bold','Italic','Underline'],
'/', ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['FontFormat','FontName','FontSize'], ['UnorderedList','OrderedList','Outdent','Indent','Undo','Redo'],
['TextColor','BGColor'] ['FitWindow'],
] ; '/',
['FontFormat','FontName','FontSize'],
FCKConfig.ToolbarSets["egw_extended"] = [ ['TextColor','BGColor']
['Bold','Italic','Underline','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','UnorderedList','OrderedList','Outdent','Indent','Undo','Redo'], ] ;
'/',
['FontFormat','FontName','FontSize'], FCKConfig.ToolbarSets["egw_extended"] = [
['FitWindow','TextColor','BGColor'] ['Bold','Italic','Underline'],
] ; ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['UnorderedList','OrderedList','Outdent','Indent','Undo','Redo'],
FCKConfig.ToolbarSets["egw_advanced"] = [ ['Link','Unlink','Anchor'],
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], ['Find','Replace'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['FitWindow','Image','Table'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], '/',
'/', ['FontFormat','FontName','FontSize'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['TextColor','BGColor']
['OrderedList','UnorderedList','-','Outdent','Indent'], ] ;
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'], FCKConfig.ToolbarSets["egw_advanced"] = [
['TextColor','BGColor','About'], ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], //,'UniversalKey' ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'/*,'SpellCheck'*/],
'/', ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['FitWindow','Style','FontFormat','FontName','FontSize'] '/',
] ; ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
FCKConfig.EnterMode = 'p' ; // p | div | br ['UnorderedList','OrderedList','-','Outdent','Indent'],
FCKConfig.ShiftEnterMode = 'br' ; // p | div | br ['Link','Unlink','Anchor'],
['FitWindow','Image',/*'Flash',*/'Table','Rule',/*'Smiley',*/'SpecialChar','PageBreak'], //,'UniversalKey'
FCKConfig.Keystrokes = [ '/',
[ CTRL + 65 /*A*/, true ], ['Style','FontFormat','FontName','FontSize'],
[ CTRL + 67 /*C*/, true ], ['TextColor','BGColor']
[ CTRL + 70 /*F*/, true ], ] ;
[ CTRL + 83 /*S*/, true ],
[ CTRL + 88 /*X*/, true ], FCKConfig.EnterMode = 'p' ; // p | div | br
[ CTRL + 86 /*V*/, 'Paste' ], FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
[ SHIFT + 45 /*INS*/, 'Paste' ],
[ CTRL + 90 /*Z*/, 'Undo' ], FCKConfig.Keystrokes = [
[ CTRL + 89 /*Y*/, 'Redo' ], [ CTRL + 65 /*A*/, true ],
[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ], [ CTRL + 67 /*C*/, true ],
[ CTRL + 76 /*L*/, 'Link' ], [ CTRL + 70 /*F*/, true ],
[ CTRL + 66 /*B*/, 'Bold' ], [ CTRL + 83 /*S*/, true ],
[ CTRL + 73 /*I*/, 'Italic' ], [ CTRL + 88 /*X*/, true ],
[ CTRL + 85 /*U*/, 'Underline' ], [ CTRL + 86 /*V*/, 'Paste' ],
[ CTRL + SHIFT + 83 /*S*/, 'Save' ], [ SHIFT + 45 /*INS*/, 'Paste' ],
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ], [ CTRL + 90 /*Z*/, 'Undo' ],
[ CTRL + 9 /*TAB*/, 'Source' ] [ CTRL + 89 /*Y*/, 'Redo' ],
] ; [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
[ CTRL + 76 /*L*/, 'Link' ],
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; [ CTRL + 66 /*B*/, 'Bold' ],
[ CTRL + 73 /*I*/, 'Italic' ],
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' ; [ CTRL + 85 /*U*/, 'Underline' ],
[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; [ CTRL + 9 /*TAB*/, 'Source' ]
FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ; ] ;
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
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' ;
FCKConfig.SpellChecker = 'SpellerPages' ; // 'ieSpell' | 'SpellerPages'
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
FCKConfig.MaxUndoLevels = 15 ;
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
FCKConfig.DisableObjectResizing = false ; FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
FCKConfig.DisableFFTableHandles = true ;
FCKConfig.SpellChecker = 'SpellerPages' ; // 'ieSpell' | 'SpellerPages'
FCKConfig.LinkDlgHideTarget = false ; FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
FCKConfig.LinkDlgHideAdvanced = false ; FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
FCKConfig.ImageDlgHideLink = false ; FCKConfig.MaxUndoLevels = 15 ;
FCKConfig.ImageDlgHideAdvanced = false ;
FCKConfig.DisableObjectResizing = false ;
FCKConfig.FlashDlgHideAdvanced = false ; FCKConfig.DisableFFTableHandles = true ;
FCKConfig.ProtectedTags = '' ; FCKConfig.LinkDlgHideTarget = false ;
FCKConfig.LinkDlgHideAdvanced = false ;
// This will be applied to the body element of the editor
FCKConfig.BodyId = '' ; FCKConfig.ImageDlgHideLink = false ;
FCKConfig.BodyClass = '' ; FCKConfig.ImageDlgHideAdvanced = false ;
// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word FCKConfig.FlashDlgHideAdvanced = false ;
FCKConfig.CleanWordKeepsStructure = false ;
FCKConfig.ProtectedTags = '' ;
// The following value defines which File Browser connector and Quick Upload
// "uploader" to use. It is valid for the default implementaion and it is here // This will be applied to the body element of the editor
// just to make this configuration file cleaner. FCKConfig.BodyId = '' ;
// It is not possible to change this value using an external file or even FCKConfig.BodyClass = '' ;
// inline when creating the editor instance. In that cases you must set the
// values of LinkBrowserURL, ImageBrowserURL and so on. // The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
// Custom implementations should just ignore it. FCKConfig.CleanWordKeepsStructure = false ;
var _FileBrowserLanguage = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php // The following value defines which File Browser connector and Quick Upload
// "uploader" to use. It is valid for the default implementaion and it is here
// just to make this configuration file cleaner.
// Don't care about the following line. It just calculates the correct connector // It is not possible to change this value using an external file or even
// extension to use for the default File Browser (Perl uses "cgi"). // inline when creating the editor instance. In that cases you must set the
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; // values of LinkBrowserURL, ImageBrowserURL and so on.
// Custom implementations should just ignore it.
FCKConfig.LinkBrowser = true ; var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
// Don't care about the following line. It just calculates the correct connector
FCKConfig.ImageBrowser = true ; // extension to use for the default File Browser (Perl uses "cgi").
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; FCKConfig.LinkBrowser = true ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
FCKConfig.FlashBrowser = true ; FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70%
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
FCKConfig.LinkUpload = true ; FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ; FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;
FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all
FCKConfig.LinkUploadDeniedExtensions = ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ; // empty for no one FCKConfig.FlashBrowser = true ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
FCKConfig.ImageUpload = true ; FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ; FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one FCKConfig.LinkUpload = true ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
FCKConfig.FlashUpload = true ; FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ; FCKConfig.LinkUploadDeniedExtensions = ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ; // empty for no one
FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one FCKConfig.ImageUpload = true ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ; FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
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'] ; FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
FCKConfig.SmileyColumns = 8 ;
FCKConfig.SmileyWindowWidth = 320 ; FCKConfig.FlashUpload = true ;
FCKConfig.SmileyWindowHeight = 240 ; FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ;
FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all
FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
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'] ;
FCKConfig.SmileyColumns = 8 ;
FCKConfig.SmileyWindowWidth = 320 ;
FCKConfig.SmileyWindowHeight = 240 ;