extension ".__('Readability settings (af_readability)')."\">";
+ $enable_share_anything = sql_bool_to_bool($this->host->get($this, "enable_share_anything"));
- if (version_compare(PHP_VERSION, '7.0.0', '<')) {
- print_error("This plugin requires PHP 7.0.");
- } else {
+ ?>
+
- print "
" . __("Global settings") . "
";
+
= __("Global settings") ?>
- print_notice("Enable for specific feeds in the feed editor.");
+ = format_notice("Enable for specific feeds in the feed editor.") ?>
- print "
- print "
";
+ filter_unknown_feeds(
+ $this->get_stored_array("enabled_feeds"));
- print \Controls\submit_tag(__("Save"));
- print "";
+ $append_feeds = $this->filter_unknown_feeds(
+ $this->get_stored_array("append_feeds"));
- /* cleanup */
- $enabled_feeds = $this->filter_unknown_feeds(
- $this->get_stored_array("enabled_feeds"));
+ $this->host->set($this, "enabled_feeds", $enabled_feeds);
+ $this->host->set($this, "append_feeds", $append_feeds);
+ ?>
- $append_feeds = $this->filter_unknown_feeds(
- $this->get_stored_array("append_feeds"));
+ 0) { ?>
+
+
= __("Currently enabled for (click to edit):") ?>
- $this->host->set($this, "enabled_feeds", $enabled_feeds);
- $this->host->set($this, "append_feeds", $append_feeds);
-
- if (count($enabled_feeds) > 0) {
- print "
";
- print "
" . __("Currently enabled for (click to edit):") . "
";
-
- print "
";
- }
-
- }
-
- print "