帝国下载系统 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";

本文链接:https://www.dnwfb.com/73.html,转载请注明出处。
0

评论0

没有账号? 注册  忘记密码?