www.gusucode.com > Kodexplorer 可道云PHP在线文件管理系统源码程序 > kodexplorer_v4.32/plugins/officeLive/static/main.js
kodReady.push(function(){ kodApp.add({ name:"officeLive", title:"{{LNG.officeLive.meta.name}}", icon:'{{pluginHost}}static/images/icon.png', ext:"{{config.fileExt}}", sort:"{{config.fileSort}}", callback:function(path,ext){ var url = '{{pluginApi}}&path='+core.pathCommon(path); if('window' == "{{config.openWith}}" && !core.isFileView() ){ window.open(url); }else{ core.openDialog(url,core.icon(ext),htmlEncode(core.pathThis(path))); } } }); });