KindEditor/初始化参数
ul libfileManagerJson/b /li /ul p指定浏览远程图片的服务器端程序。/p p数据类型: String; 默认值: basePath + ‘php/file_manager_json.php’/p ul liballowPreviewEmoticons/b /li /ul ptrue时鼠标放在表情上可以预览
- fileManagerJson
指定浏览远程图片的服务器端程序。
数据类型: String; 默认值: basePath + ‘php/file_manager_json.php’
- allowPreviewEmoticons
true时鼠标放在表情上可以预览表情。
数据类型: Boolean; 默认值: true
- allowImageUpload
true时显示图片上传按钮。
数据类型: Boolean; 默认值: true
public function add_code($id,$source){ $data["userid"] = showcookie("uid"); $data["codeid"] = $id; $data["source"] = $source; $data["addtime"] = time(); if($this->add("codedata", $data)){ return 1; }else{ return 0; } }
- 上一篇:微博文字数量统计
- 下一篇:thinkphp添加数据函数
精彩图集
精彩文章