From 2fdbff069f93a60db19f70d95a8f7c69d826bf53 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 31 Jul 2013 18:58:56 +0400 Subject: add experimental plugin to shorten articles which are too damn long in expanded cdm --- plugins/shorten_expanded/init.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 plugins/shorten_expanded/init.php (limited to 'plugins/shorten_expanded/init.php') diff --git a/plugins/shorten_expanded/init.php b/plugins/shorten_expanded/init.php new file mode 100644 index 000000000..1d0c99eca --- /dev/null +++ b/plugins/shorten_expanded/init.php @@ -0,0 +1,29 @@ +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; + } + +} +?> -- cgit v1.2.3