oProgramPath); $oFCKPath->addComponent("opt"); $oFCKPath->addComponent("fckeditor"); $oFCKPath->addComponent("fckeditor.php"); include_once($oFCKPath->sPath); $bOK = false; $sResponse = WYTS("RichTextSaved"); $sHelpFile = "richtext-fckeditor-element.php"; $oEditor =& new WYEditor(); $oElement =& new WYRichTextElement($oEditor->sFieldName, $oEditor->bGlobal, "", false); if ($oEditor->bSave) { $oElement->setText($goApp->sFormFieldValue('FCKeditor1')); $oElement->save(); $bOK = true; } else { $sContent = $oElement->sText(); $sCSSURL = $goApp->sFormFieldValue(WY_QK_RICH_TEXT_CSS); } $oFCKBaseURL = od_clone($goApp->oProgramURL); $oFCKBaseURL->addComponent("opt"); $oFCKBaseURL->addComponent("fckeditor"); $goApp->outputWarningPanels(); // give App a chance to say something ?>