Index: branches/RC/core/units/admin/admin_tag_processor.php =================================================================== diff -u -N -r10832 -r10974 --- branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 10832) +++ branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 10974) @@ -455,43 +455,6 @@ return $ret; } - function FCKEditor($params) - { - if (file_exists(FULL_PATH.'/core/cmseditor/fckeditor.php')) { - $editor_path = 'core/cmseditor/'; - } - else { - $editor_path = 'admin/editor/cmseditor/'; - } - include_once(FULL_PATH.'/'.$editor_path.'/fckeditor.php'); - $oFCKeditor = new FCKeditor($params['name']); - $oFCKeditor->BasePath = BASE_PATH.'/'.$editor_path; - $oFCKeditor->Width = $params['width'] ; - $oFCKeditor->Height = $params['height'] ; - $oFCKeditor->ToolbarSet = 'Advanced' ; - $oFCKeditor->Value = '' ; - - if ($this->Application->isModuleEnabled('In-Portal')) { - $config_path = $this->Application->BaseURL().'kernel/admin_templates/incs/inp_fckconfig.js'; - } - else { - $config_path = $this->Application->BaseURL().'core/admin_templates/js/inp_fckconfig.js'; - } - - $oFCKeditor->Config = Array( -// 'UserFilesPath' => (defined('WRITEABLE') ? WRITEABLE : FULL_PATH.'/kernel') . '/user_files/', - 'ProjectPath' => BASE_PATH.'/', - 'CustomConfigurationsPath' => $config_path, -// 'EditorAreaCSS' => $this->Application->BaseURL().'/themes/inportal_site/inc/inportal.css', //GetThemeCSS(), - //'StylesXmlPath' => '../../inp_styles.xml', -// 'Debug' => 1, - 'Admin' => 1, - 'K4' => 1, - ); - return $oFCKeditor->CreateHtml(); - - } - /** * Allows to construct link for opening any type of catalog item selector *