Index: trunk/admin/editor/editor_new.php =================================================================== diff -u -r1662 -r1735 --- trunk/admin/editor/editor_new.php (.../editor_new.php) (revision 1662) +++ trunk/admin/editor/editor_new.php (.../editor_new.php) (revision 1735) @@ -99,7 +99,7 @@ } - +
ToolbarSet = 'Advanced' ; $oFCKeditor->Value = '' ; $oFCKeditor->Config = Array( - 'UserFilesPath' => $pathtoroot.'kernel/userfiles', + 'UserFilesPath' => $pathtoroot.'kernel/user_files', 'ProjectPath' => $objConfig->Get("Site_Path"), 'CustomConfigurationsPath' => $rootURL.'admin/editor/inp_fckconfig.js', - - 'Debug' => 1, + 'EditorAreaCSS' => $rootURL.'themes/site/inc/style.css', + 'StylesXmlPath' => '../../inp_styles.xml', + //'Debug' => 1, ); echo $oFCKeditor->CreateHtml() ; @@ -203,6 +204,6 @@ END; ?> - setTimeout('update_content();',100); +// setTimeout('update_content();',100); Index: trunk/admin/editor/inp_fckconfig.js =================================================================== diff -u -r1595 -r1735 --- trunk/admin/editor/inp_fckconfig.js (.../inp_fckconfig.js) (revision 1595) +++ trunk/admin/editor/inp_fckconfig.js (.../inp_fckconfig.js) (revision 1735) @@ -1,4 +1,4 @@ -/* +s/* * Edited by Kostja * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben @@ -20,6 +20,8 @@ * Frederico Caldeira Knabben (fredck@fckeditor.net) */ +alert('my config'); + FCKConfig.CustomConfigurationsPath = '' ; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; @@ -75,7 +77,7 @@ ] ; FCKConfig.ToolbarSets["Advanced"] = [ - ['Cut','Copy','Paste','PasteText','PasteWord','-','NewPage','SelectAll','-','Find','Replace','-','Print','Preview','-','Link','Unlink','Anchor','Rule','-','Image','Document','Table','SpecialChar'], + ['Cut','Copy','Paste','PasteText','PasteWord','-','NewPage','SelectAll','-','Find','Replace','-','Print','-','Link','Unlink','Anchor','Rule','-','Image','Document','Table','SpecialChar'], '/', ['Bold','Italic','Underline','StrikeThrough','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','OrderedList','UnorderedList','Outdent','Indent','-','Subscript','Superscript','-','TextColor','BGColor','-','Undo','Redo'], '/', @@ -95,7 +97,7 @@ 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.StylesXmlPath = '../fckstyles.xml' ; +FCKConfig.StylesXmlPath = '../inp_styles.xml' ; FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ; Index: trunk/admin/editor/inp_styles.xml =================================================================== diff -u --- trunk/admin/editor/inp_styles.xml (revision 0) +++ trunk/admin/editor/inp_styles.xml (revision 1735) @@ -0,0 +1,29 @@ + + + + + + + \ No newline at end of file