host = $host; $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); } function about() { return array(1.0, "Adds a button to close article panel", "fox"); } /** * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ function hook_article_button($line) { if (!get_pref("COMBINED_DISPLAY_MODE")) { $rv = ""; } return $rv; } function api_version() { return 2; } }