1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-01 10:39:15 +00:00

more work on user-selectable plugins; properly process system and user plugins

This commit is contained in:
Andrew Dolgov
2012-12-25 10:02:08 +04:00
parent de612e7a38
commit d2a421e3cb
23 changed files with 92 additions and 60 deletions

View File

@@ -260,9 +260,9 @@
if (in_array("-list-plugins", $op)) {
$tmppluginhost = new PluginHost($link);
$tmppluginhost->load_all();
$tmppluginhost->load_all($tmppluginhost::KIND_ALL);
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
$about = $plugin->_about();
$about = $plugin->about();
printf("%-60s - v%.2f (by %s)\n%s\n\n",
$name, $about[0], $about[2], $about[1]);