From 72af96f69470bfbd4901e6dd2304198af78ac45a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Aug 2019 14:26:59 +0300 Subject: rename some form keys so that this plugin would not conflict with stock af_readability --- init.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.php b/init.php index 190cfaf..fd08b2d 100644 --- a/init.php +++ b/init.php @@ -49,7 +49,7 @@ class Af_Readability_Legacy extends Plugin { if ($args != "prefFeeds") return; print "
extension ".__('Readability settings (af_readability)')."\">"; + title=\"extension ".__('Readability settings (af_readability_legacy)')."\">"; if (version_compare(PHP_VERSION, '5.6.0', '<')) { print_error("This plugin requires PHP version 5.6."); @@ -126,8 +126,8 @@ class Af_Readability_Legacy extends Plugin { print "
"; - print ""; + print ""; print "
"; @@ -138,7 +138,7 @@ class Af_Readability_Legacy extends Plugin { $enabled_feeds = $this->host->get($this, "enabled_feeds"); if (!is_array($enabled_feeds)) $enabled_feeds = array(); - $enable = checkbox_to_sql_bool($_POST["af_readability_enabled"]); + $enable = checkbox_to_sql_bool($_POST["af_readability_legacy_enabled"]); $key = array_search($feed_id, $enabled_feeds); if ($enable) { -- cgit v1.2.3