帝国下载系统 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"><?=$softsay?></textarea> 改成 <?=$oFCKeditor->Create();?>
在顶部?>前增加
include("../FCKeditor/fckeditor.php") ; //FCKeditor 包含文件
$oFCKeditor = new FCKeditor('softsay') ;
$oFCKeditor->BasePath = "../FCKeditor/" ;
$oFCKeditor->Value = "$softsay";
文章版权声明:除非注明,否则均为奥多云原创文章,转载或复制请以超链接形式并注明出处。
还没有评论,来说两句吧...