源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

PHP集成FCK的函数代码

  • 时间:2021-04-18 08:58 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:PHP集成FCK的函数代码
[u]复制代码[/u] 代码如下:
//定义一个函数用于调用FCKeditor function call_fck($input_name,$input_value,$w='780',$h='580') { include_once 'fckeditor/fckeditor.php'; $fcked = new FCKeditor($input_name) ; $fcked->BasePath = 'fckeditor/'; $fcked->ToolbarSet = 'Simple' ; //工具栏设置 $fcked->InstanceName = $input_name ; $fcked->Width = $w; $fcked->Height = $h; $fcked->Value = $input_value; $fck_area = $fcked->CreateHtml(); $this->smarty->assign('fck_area',$fck_area); unset($fck_area) ; unset($fcked) ; }
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部