PHPIndex

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`).

i18n
static
app.php
wget 'https://sme10.lists2.roe3.org/kodbox/plugins/simpleClock/app.php'
View Content
<?php

/**
 * 隐藏插件,默认开启
 */
class simpleClockPlugin extends PluginBase{
	function __construct(){
		parent::__construct();
	}
	public function regist(){
		$this->hookRegist(array(
			'user.commonJs.insert' => 'simpleClockPlugin.echoJs'
		));
	}
	public function echoJs(){
		$this->echoFile('static/main.js');
	}
	public function index(){
		include($this->pluginPath.'static/page.html');
	}
}
package.json
wget 'https://sme10.lists2.roe3.org/kodbox/plugins/simpleClock/package.json'
View Content
{
	"id":"simpleClock",
	"name":"clock",
	"title":"{{LNG['simpleClock.meta.title']}}",
	"version":"1.13",
	"category":"tools",
	"source":{
		"className":"font-icon ri-time-line bg-blue-6"
	},
	"description":"{{LNG['simpleClock.meta.desc']}}",
	"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
		}
	}
}