Reenable FCK editor in the email editor

This commit is contained in:
james 2009-10-14 04:58:52 +00:00
parent 2ef6d527d3
commit 547d30d490

View File

@ -228,7 +228,6 @@ case 'dialog_edit':
</tr><tr> </tr><tr>
<td class="label"><?=i18n("Email Body")?>:</td> <td class="label"><?=i18n("Email Body")?>:</td>
<td class="input"><? <td class="input"><?
/*
require_once("../fckeditor/fckeditor.php"); require_once("../fckeditor/fckeditor.php");
$oFCKeditor = new FCKeditor("bodyhtml") ; $oFCKeditor = new FCKeditor("bodyhtml") ;
$oFCKeditor->BasePath = "../fckeditor/"; $oFCKeditor->BasePath = "../fckeditor/";
@ -236,9 +235,9 @@ case 'dialog_edit':
$oFCKeditor->Value = $bodyhtml; $oFCKeditor->Value = $bodyhtml;
$oFCKeditor->Width="100%"; $oFCKeditor->Width="100%";
$oFCKeditor->Height=300; $oFCKeditor->Height=300;
$oFCKeditor->Create();*/ $oFCKeditor->Create();
// echo "<textarea name=\"bodyhtml\" rows=6 cols=80>=$bodyhtml</textarea>"
?> ?>
<textarea name="bodyhtml" rows=6 cols=80><?=$bodyhtml?></textarea>
</td> </td>
</tr></table> </tr></table>