我写的PHP集成FCK的经典代码 -- vb2005xu自己动手
2016-08-25 16:02
447 查看
//定义一个函数用于调用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) ; }
相关文章推荐
- EXT富客户端后台管理系统 初步代码 -- vb2005xu自己动手系列
- PHP学习笔记,自己动手写个MVC的框架 -- base所有代码
- QQ登录集成到自己网站php代码(转载)
- PHP集成FCK的函数代码
- 自己动手实现简易代码生成器、采用文本模板文件生成服务层、服务层接口代码的做法参考
- HTML手册|CSS手册|JScript手册|VbScript手册|ASP手册|PHP手册|SQL手册|网页特效|ADO手册|经典网站广告代码演示
- 自己动手用 C 扩展 PHP
- vim自己的PHP代码格式化
- php 经典分页实现代码
- 闲的没事,自己动手修改上兴3.2源代码
- 闲的没事,自己动手修改上兴3.2源代码(2)
- 随时给自己贴的图片加文字的php代码
- 利用GoogleApp托管自己的PHP代码(Eclipse开发环境)
- 创建数据库php代码 用PHP写出自己的BLOG系统
- 自己动手定制NUnit(三):整合ncover生成代码覆盖率报表(zhuan)
- 学php必收藏的几个经典代码第1/2页
- 纯js集成fck 以及 判断fck内容是否为空的js代码
- 随时给自己贴的图片加文字的php代码
- [导入]自己动手实现 lucene 搜索代码高亮显示