/** * put this file in the following dir * editor/ */ FCKConfig.DefaultLanguage = 'de' ; FCKConfig.FullPage = false; FCKConfig.ToolbarSets["Default"] = [ ['Source','DocProps','-','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow'] ] ; /** * the css file setting for the content area can be an array to apply multiple css files */ var arrAreaCss = []; arrAreaCss[0] = FCKConfig.BasePath + '../../../../fck_editorarea_custom.css'; arrAreaCss[1] = FCKConfig.BasePath + '../../../../default_wysiwyg_styles.css'; FCKConfig.EditorAreaCSS = arrAreaCss; /** * as the default editor config doesn't allow for changing the server side language it has to be done manually... * notice: the connector config (in this case 'php') option 'enableConnector' must be set to true as well in order to make everything work */ FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php'; FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php'; FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ; FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php'; FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php';