PHP集成FCK的函数代码
2015-01-24信息快讯网
定义一个函数用于调用FCKeditor ,用php写成一个函数,方便调用
//定义一个函数用于调用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) ;
}
PHP字符串处理的10个简单方法
php flv视频时间获取函数
PHP常用代码大全(新手入门必备)
《Head First 设计模式》代码之PHP版(面向对象学习)第1/2页
PHP print类函数使用总结
php fckeditor 调用的函数
PHP控制网页过期时间的代码
php横向重复区域显示二法
php下防止单引号,双引号在接受页面转义的设置方法
什么是phpDocumentor第1/2页
PHP伪造referer实例代码
PHP面向对象分析设计的经验原则
FCKeditor添加自定义按钮
dedecms防止FCK乱格式化你的代码的修改方法
FCKeditor的安装(PHP)
实例(Smarty+FCKeditor新闻系统)