好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

帝国下载系统 V2.5 增加FCKeditor编辑器的方法_帝国

帝国下载系统 V2.5 增加FCKeditor编辑器的方法,需要的朋友可以参考下。

下载 FCKeditor 放在网站根目录

admin/AddSoft.php
第80行
$softsay=htmlspecialchars($r[softsay]); 改成 $softsay=$r[softsay];

data/form/1.php
第224行
<textarea name="softsay" cols="67" rows="12" style="WIDTH:100%"><?=$softsay?></textarea> 改成 <?=$oFCKeditor->Create();?>

在顶部?>前增加
include("FCKeditor/fckeditor.php") ; //FCKeditor 包含文件
$oFCKeditor = new FCKeditor('softsay') ;
$oFCKeditor->BasePath = "FCKeditor/" ;
$oFCKeditor->Value = "$softsay";

查看更多关于帝国下载系统 V2.5 增加FCKeditor编辑器的方法_帝国的详细内容...

  阅读:87次