东高服务站 發表於 2023-5-31 00:00:00

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

<p>
<span>下载 FCKeditor 放在网站根目录 </span><br><br><span>admin/AddSoft.php </span><br><span>第80行 </span><br><span>$softsay=htmlspecialchars($r); 改成 $softsay=$r; </span><br><br><span>data/form/1.php </span><br><span>第224行 </span><br><span>&lt;textarea name="softsay" cols="67" rows="12"&gt;&lt;?=$softsay?&gt;&lt;/textarea&gt; 改成 &lt;?=$oFCKeditor-&gt;Create();?&gt; </span><br><br><span>在顶部?&gt;前增加 </span><br><span>include("../FCKeditor/fckeditor.php") ; //FCKeditor 包含文件 </span><br><span>$oFCKeditor = new FCKeditor('softsay') ; </span><br><span>$oFCKeditor-&gt;BasePath = "../FCKeditor/" ; </span><br><span>$oFCKeditor-&gt;Value = "$softsay";</span></p>
頁: [1]
查看完整版本: 帝国下载系统 V2.5 增加FCKeditor编辑器的方法