@ -26,14 +26,11 @@
FCKConfig . CustomConfigurationsPath = '' ;
FCKConfig . CustomConfigurationsPath = '' ;
//FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
FCKConfig . EditorAreaCSS = FCKConfig . BasePath + 'css/fck_editorarea.css' ;
FCKConfig . EditorAreaCSS = FCKConfig . BasePath + '../../../../css/public_admin/course.css' ;
FCKConfig . EditorAreaStyles = '' ;
FCKConfig . EditorAreaStyles = '' ;
FCKConfig . ToolbarComboPreviewCSS = '' ;
FCKConfig . ToolbarComboPreviewCSS = '' ;
//FCKConfig.DocType = '' ;
FCKConfig . DocType = '' ;
FCKConfig . DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' ;
FCKConfig . BaseHref = '' ;
FCKConfig . BaseHref = '' ;
@ -45,9 +42,7 @@ FCKConfig.StartupShowBlocks = 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 . SkinPath = FCKConfig . BasePath + 'skins/silver/' ;
FCKConfig . SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
FCKConfig . SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
FCKConfig . SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
FCKConfig . SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ;
@ -59,23 +54,12 @@ FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
// FCKConfig.Plugins.Add( 'dragresizetable' );
// FCKConfig.Plugins.Add( 'dragresizetable' );
FCKConfig . AutoGrowMax = 400 ;
FCKConfig . AutoGrowMax = 400 ;
// Added by Ivan Tcholakov
//FCKConfig.Plugins.Add( "customizations" ) ;
//
FCKConfig . ProtectedSource . Add ( /<script[\s\S]*?\/script>/gi ) ; // <SCRIPT> tags.
//
// 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 . AutoDetectLanguage = false ;
FCKConfig . DefaultLanguage = 'en' ;
//FCKConfig.DefaultLanguage = 'en' ;
FCKConfig . DefaultLanguage = 'fr' ;
FCKConfig . ContentLangDirection = 'ltr' ;
FCKConfig . ContentLangDirection = 'ltr' ;
FCKConfig . ProcessHTMLEntities = true ;
FCKConfig . ProcessHTMLEntities = true ;
@ -92,9 +76,7 @@ FCKConfig.FormatSource = true ;
FCKConfig . FormatOutput = true ;
FCKConfig . FormatOutput = true ;
FCKConfig . FormatIndentator = ' ' ;
FCKConfig . FormatIndentator = ' ' ;
//FCKConfig.EMailProtection = 'encode' ; // none | encode | function
FCKConfig . EMailProtection = 'none' ; // none | encode | function
FCKConfig . EMailProtection = 'none' ; // See http://dev.fckeditor.net/ticket/2488
FCKConfig . EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
FCKConfig . EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
FCKConfig . StartupFocus = false ;
FCKConfig . StartupFocus = false ;
@ -123,8 +105,7 @@ FCKConfig.ToolbarSets["Default"] = [
[ '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','Blockquote','CreateDiv'],
[ 'OrderedList' , 'UnorderedList' , '-' , 'Outdent' , 'Indent' , 'Blockquote' , 'CreateDiv' ] ,
[ 'OrderedList' , 'UnorderedList' , '-' , 'Outdent' , 'Indent' , 'Blockquote' ] ,
[ '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' ] ,
@ -165,9 +146,7 @@ FCKConfig.Keystrokes = [
[ SHIFT + 32 /*SPACE*/ , 'Nbsp' ]
[ SHIFT + 32 /*SPACE*/ , 'Nbsp' ]
] ;
] ;
//FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
FCKConfig . ContextMenu = [ 'Generic' , 'Link' , 'Anchor' , 'Image' , 'Flash' , 'Select' , 'Textarea' , 'Checkbox' , 'Radio' , 'TextField' , 'HiddenField' , 'ImageButton' , 'Button' , 'BulletedList' , 'NumberedList' , 'Table' , 'Form' , 'DivContainer' ] ;
FCKConfig . ContextMenu = [ 'Generic' , 'Link' , 'Anchor' , 'Image' , 'Flash' , 'Select' , 'Textarea' , 'Checkbox' , 'Radio' , 'TextField' , 'HiddenField' , 'ImageButton' , 'Button' , 'BulletedList' , 'NumberedList' , 'Table' , 'Form' ] ;
FCKConfig . BrowserContextMenuOnCtrl = false ;
FCKConfig . BrowserContextMenuOnCtrl = false ;
FCKConfig . BrowserContextMenu = false ;
FCKConfig . BrowserContextMenu = false ;
@ -179,11 +158,9 @@ FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;V
FCKConfig . FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
FCKConfig . FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
FCKConfig . StylesXmlPath = FCKConfig . EditorPath + 'fckstyles.xml' ;
FCKConfig . StylesXmlPath = FCKConfig . EditorPath + 'fckstyles.xml' ;
FCKConfig . TemplatesXmlPath = FCKConfig . EditorPath + 'fcktemplates.xml' ;
//FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;
FCKConfig . SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell'
FCKConfig . TemplatesXmlPath = FCKConfig . EditorPath + 'fcktemplates.xml.php' ;
FCKConfig . SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages'
FCKConfig . IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
FCKConfig . IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ;
FCKConfig . SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
FCKConfig . SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl
FCKConfig . FirefoxSpellChecker = false ;
FCKConfig . FirefoxSpellChecker = false ;
@ -191,9 +168,7 @@ FCKConfig.FirefoxSpellChecker = false ;
FCKConfig . MaxUndoLevels = 15 ;
FCKConfig . MaxUndoLevels = 15 ;
FCKConfig . DisableObjectResizing = false ;
FCKConfig . DisableObjectResizing = false ;
FCKConfig . DisableFFTableHandles = true ;
//FCKConfig.DisableFFTableHandles = true ;
FCKConfig . DisableFFTableHandles = false ;
FCKConfig . LinkDlgHideTarget = false ;
FCKConfig . LinkDlgHideTarget = false ;
FCKConfig . LinkDlgHideAdvanced = false ;
FCKConfig . LinkDlgHideAdvanced = false ;
@ -305,14 +280,42 @@ var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
// extension to use for the default File Browser (Perl uses "cgi").
// extension to use for the default File Browser (Perl uses "cgi").
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
////
// moved to myconfig.js
FCKConfig . LinkBrowser = true ;
////
FCKConfig . LinkBrowserURL = FCKConfig . BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent ( FCKConfig . BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
FCKConfig . LinkBrowserWindowWidth = FCKConfig . ScreenWidth * 0.7 ; // 70%
FCKConfig . LinkBrowserWindowHeight = FCKConfig . ScreenHeight * 0.7 ; // 70%
FCKConfig . ImageBrowser = true ;
FCKConfig . ImageBrowserURL = FCKConfig . BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent ( FCKConfig . BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
FCKConfig . ImageBrowserWindowWidth = FCKConfig . ScreenWidth * 0.7 ; // 70% ;
FCKConfig . ImageBrowserWindowHeight = FCKConfig . ScreenHeight * 0.7 ; // 70% ;
FCKConfig . FlashBrowser = true ;
FCKConfig . FlashBrowserURL = FCKConfig . BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent ( FCKConfig . BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
FCKConfig . FlashBrowserWindowWidth = FCKConfig . ScreenWidth * 0.7 ; //70% ;
FCKConfig . FlashBrowserWindowHeight = FCKConfig . ScreenHeight * 0.7 ; //70% ;
FCKConfig . LinkUpload = true ;
FCKConfig . LinkUploadURL = FCKConfig . BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
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
FCKConfig . LinkUploadDeniedExtensions = "" ; // empty for no one
FCKConfig . ImageUpload = true ;
FCKConfig . ImageUploadURL = FCKConfig . BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
FCKConfig . ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
FCKConfig . ImageUploadDeniedExtensions = "" ; // empty for no one
FCKConfig . FlashUpload = true ;
FCKConfig . FlashUploadURL = FCKConfig . BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
FCKConfig . FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all
FCKConfig . FlashUploadDeniedExtensions = "" ; // empty for no one
FCKConfig . SmileyPath = FCKConfig . BasePath + 'images/smiley/msn/' ;
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 . 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 . SmileyColumns = 8 ;
FCKConfig . SmileyWindowWidth = 450 ;
FCKConfig . SmileyWindowWidth = 32 0 ;
FCKConfig . SmileyWindowHeight = 250 ;
FCKConfig . SmileyWindowHeight = 21 0 ;
FCKConfig . BackgroundBlockerColor = '#ffffff' ;
FCKConfig . BackgroundBlockerColor = '#ffffff' ;
FCKConfig . BackgroundBlockerOpacity = 0.50 ;
FCKConfig . BackgroundBlockerOpacity = 0.50 ;