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

2024-11-25 47阅读 0评论

下载 FCKeditor 放在网站根目录 

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

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

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

文章版权声明:除非注明,否则均为奥多云原创文章,转载或复制请以超链接形式并注明出处。

发表评论

快捷回复: 表情:
评论列表 (暂无评论,47人围观)

还没有评论,来说两句吧...

取消
微信二维码
微信二维码
支付宝二维码