From 7a866114e1236da92c0a35c9441903640a6bdf63 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 24 Dec 2012 15:39:42 +0400 Subject: add -list-plugins option; about sections to plugins --- plugins/flattr/flattr.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/flattr') diff --git a/plugins/flattr/flattr.php b/plugins/flattr/flattr.php index 3bc427211..e5042632c 100644 --- a/plugins/flattr/flattr.php +++ b/plugins/flattr/flattr.php @@ -10,6 +10,12 @@ class Flattr extends Plugin { $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); } + function _about() { + return array(1.0, + "Share on Flattr plugin", + "Nic Honing"); + } + function hook_article_button($line) { $article_id = $line["id"]; -- cgit v1.2.3