帝国下载系统 V2.5 增加FCKeditor编辑器的方法_帝国cms教程-查字典教程网
帝国下载系统 V2.5 增加FCKeditor编辑器的方法
帝国下载系统 V2.5 增加FCKeditor编辑器的方法
发布时间:2016-12-23 来源:查字典编辑
摘要:下载FCKeditor放在网站根目录admin/AddSoft.php第80行$softsay=htmlspecialchars($r[so...

下载 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";

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新帝国cms学习
    热门帝国cms学习
    CMS教程子分类