summaryrefslogtreecommitdiff
path: root/plugins/shorten_expanded/init.php
blob: c097f1a0da9c780bc0cb571ee3cf69e2c0b2ad8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
class Shorten_Expanded extends Plugin {
	private $host;

	function about() {
		return array(null,
			"Shorten overly long articles in CDM/expanded",
			"fox");
	}

	function init($host) {
		$this->host = $host;
	}

	function get_css() {
		return file_get_contents(__DIR__ . "/init.css");
	}

	function get_js() {
		return file_get_contents(__DIR__ . "/init.js");
	}

	function api_version() {
		return 2;
	}

}