不过功夫不负有心人,终于还就被我找到一款相当满意的插件。
这个插件的名字叫ajaxfilemanager
官方网址是http://www.phpletter.com/DOWNLOAD/
Tinymce Ajax File and Image Manager
- Tinymce Ajax File and Image Manager Version 1.0 Final
- Project Demo
- Installation Instructions/Project Introduction
- Support Forum
- Change Notes
使用中发现几处小BUG,我已经自己修复了
修正语言为中文显示 修改ajaxfilemanager.php,及配置文件 utf-8编码到gb2312---->修正中文文件名不能显示修正预览视图不出现选择文件的按钮 //alert($('#content input[@type=checkbox][@checked]').length);//#fileList修改为#content 修正有些配置环境选择文件后不能正确识别路径function myRealPath($path) { if(strpos($path, ':/') !== false||strpos($path, ':\\') !== false)增加||strpos($path, ':\\') !== false function getRealPath($value) { $output = ''; if(($path = realpath($value)) && $path!="" && $path != $value)增加&& $path!="" 根据不同用户名,使用不同子目录,所有用到CONFIG_SYS_ROOT_PATH的地方后面加上子目录 . $GLOBALS["childRoot"]所有用到CONFIG_SYS_DEFAULT_PATH的地方也加上$GLOBALS["childRoot"] 子目录修改class.auth.php文件,修改isLoggedIn函数,在登录时给$GLOBALS["childRoot"]赋值,php
看看预览图,不错吧,该有的功能都有了。
最新评论