1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 18:11:29 +00:00

add plugin-based filter actions (see example plugin in attic)

bump schema
This commit is contained in:
Andrew Dolgov
2015-08-11 23:28:41 +03:00
parent ad9928a5cb
commit b87744534a
11 changed files with 146 additions and 35 deletions

View File

@@ -752,7 +752,7 @@ class Pref_Prefs extends Handler_Protected {
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
$about = $plugin->about();
if ($about[3] && strpos($name, "example") === FALSE) {
if ($about[3]) {
if (in_array($name, $system_enabled)) {
$checked = "checked='1'";
} else {
@@ -802,7 +802,7 @@ class Pref_Prefs extends Handler_Protected {
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
$about = $plugin->about();
if (!$about[3] && strpos($name, "example") === FALSE) {
if (!$about[3]) {
if (in_array($name, $system_enabled)) {
$checked = "checked='1'";