From 2f6ea8b387ee4717516cbc96140f58542fbfa30c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Mar 2021 15:09:56 +0300 Subject: split a bunch of plugins into separate repos --- plugins/close_button/init.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 plugins/close_button/init.php (limited to 'plugins/close_button') diff --git a/plugins/close_button/init.php b/plugins/close_button/init.php deleted file mode 100644 index c1169fc34..000000000 --- a/plugins/close_button/init.php +++ /dev/null @@ -1,33 +0,0 @@ -host = $host; - - $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); - } - - function about() { - return array(null, - "Adds a button to close article panel", - "fox"); - } - - function get_css() { - return ".post .header .buttons i.material-icons.icon-close-article { color : red; }"; - } - - function hook_article_button($line) { - if (!get_pref(Prefs::COMBINED_DISPLAY_MODE)) { - return "close"; - } - } - - function api_version() { - return 2; - } - -} -- cgit v1.2.3