问题如:http://bbs.kesion.com/forumthread-600962.html
解决方法:
以文章模型为例,打开
admin/ks.article.asp
找到
- .Write "$(document).ready(function(){CKEDITOR.replace('Content', {width:""98%"",height:""360px"",toolbar:""NewsTool"",filebrowserBrowseUrl :""Include/SelectPic.asp?from=ckeditor&Currpath="& KS.GetUpFilesDir() &""",filebrowserWindowWidth:650,filebrowserWindowHeight:290});})"
改为
- .Write "$(document).ready(function(){CKEDITOR.replace('Content', {width:""98%"",height:""360px"",toolbar:""NewsTool"",filebrowserBrowseUrl :""Include/SelectPic.asp?channelid=" & channelid & "&from=ckeditor&Currpath="& KS.GetUpFilesDir() &""",filebrowserWindowWidth:650,filebrowserWindowHeight:290});})"
这样就可以根据后台角色里设置是否有上传权限控制了
其它模型的修改方法类似。