1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 12:21:29 +00:00

add -list-plugins option; about sections to plugins

This commit is contained in:
Andrew Dolgov
2012-12-24 15:39:42 +04:00
parent 6b31c9f2fb
commit 7a866114e1
18 changed files with 112 additions and 1 deletions

View File

@@ -10,6 +10,12 @@ class GooglePlus extends Plugin {
$host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
}
function _about() {
return array(1.0,
"Share on Google+ plugin",
"homolibere");
}
function get_js() {
return file_get_contents(dirname(__FILE__) . "/googleplus.js");
}