Get("Site_Path"); $admin = $objConfig->Get("AdminDirectory"); if(!strlen($admin)) $admin = "admin"; $adminURL = $rootURL.$admin; $imagesURL = $adminURL."/images"; require_once ($pathtoroot.$admin."/include/elements.php"); require_once ($pathtoroot."kernel/admin/include/navmenu.php"); require_once($pathtoroot.$admin."/toolbar.php"); require_once($pathtoroot.$admin."/editor/cmseditor/fckeditor.php"); $style_sheet_global = $adminURL."/include/style.css"; ?> Online Editor \n"; ?>
Set("section",$section); $objListToolBar->Set("load_menu_func",""); $objListToolBar->Set("CheckClass",""); $listImages = array(); //$img, $alt, $link, $onMouseOver, $onMouseOut, $onClick $objListToolBar->Add("select", "la_ToolTip_Select","#","swap('select','toolbar/tool_select_f2.gif');", "swap('select', 'toolbar/tool_select.gif');", "document.frm.submit();","tool_select.gif"); $objListToolBar->Add("cancel", "la_ToolTip_Stop","#","swap('cancel','toolbar/tool_stop_f2.gif');", "swap('cancel', 'toolbar/tool_stop.gif');","window.close();","tool_stop.gif"); $title = "Online HTML Editor"; $objSections->SetCurrentSection($section); print $objSections->section_header($envar,NULL,$title); $TargetForm = $_GET["TargetForm"]; $TargetField = $_GET["TargetField"]; echo $objListToolBar->Build(); ?>
BasePath = 'cmseditor/' ; $oFCKeditor->Width = '100%' ; $oFCKeditor->Height = '500' ; $oFCKeditor->ToolbarSet = 'Default' ; $oFCKeditor->Value = '' ; $oFCKeditor->Config = Array( 'UserFilesPath' => $pathtoroot.'kernel/userfiles', 'ProjectPath' => $objConfig->Get("Site_Path"), 'CustomConfigurationsPath' => $rootURL.'admin/editor/inp_fckconfig.js', 'Debug' => 1, ); echo $oFCKeditor->CreateHtml() ; ?>