This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).
wget 'https://sme10.lists2.roe3.org/kodbox/plugins/webodf/app.php'
<?php
class webodfPlugin extends PluginBase{
function __construct(){
parent::__construct();
}
public function regist(){
$this->hookRegist(array(
'user.commonJs.insert' => 'webodfPlugin.echoJs',
));
}
public function echoJs(){
$this->echoFile('static/main.js');
}
public function index(){
$fileUrl = $this->filePathLink($this->in['path']);
$fileName = $this->in['name'].' - '.LNG('common.copyright.name').LNG('common.copyright.powerBy');
include($this->pluginPath.'/php/template.php');
}
}
wget 'https://sme10.lists2.roe3.org/kodbox/plugins/webodf/package.json'
{
"id":"webodf",
"name":"Opendocument Viewer",
"title":"",
"version":"1.28",
"source":{
"className":"x-item-icon x-odt",
"icon":""
},
"category":"file",
"description":"Opendocument Viewer",
"keywords":"",
"auther":{
"copyright":"kodcloud.",
"homePage":"http://www.kodcloud.com",
},
"configItem":{
"pluginAuth":{
"type":"userSelect",
"value":{"all":1},
"display":"{{LNG['admin.plugin.auth']}}",
"desc":"{{LNG['admin.plugin.authDesc']}}",
"require":1
},
"openWith":{
"type":"radio",
"value":"dialog",
"display":"{{LNG['admin.plugin.openWith']}}",
"info":{
"dialog":"{{LNG['admin.plugin.openWithDilog']}}",
"window":"{{LNG['admin.plugin.openWithWindow']}}"
}
},
"sep1001":"<hr/>",
"fileExt":{
"type":"tags",
"display":"{{LNG['admin.plugin.fileExt']}}",
"desc":"{{LNG['admin.plugin.fileExtDesc']}}",
"value":"odf,odt,ods,odp"
},
"fileSort":{
"type":"number",
"display":"{{LNG['admin.plugin.fileSort']}}",
"desc":"{{LNG['admin.plugin.fileSortDesc']}}",
"value":5000
}
}
}