summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-03-14 18:15:21 +0300
committerAndrew Dolgov <[email protected]>2018-03-14 18:15:21 +0300
commit0a8cdd4b9c320e4dcc74507b672b1fd10b59b677 (patch)
tree0f7bf6f3f1249d077021f641b748ed3a0c48246e /classes
parent002a0e259d4348d54d2e730a03a8d21650124553 (diff)
remove firefox feed subscribe integration code (obsolete)
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/pref/feeds.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index 03f82033f..459fbbe2a 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -1323,25 +1323,6 @@ class Pref_Feeds extends Handler_Protected {
print "</div>"; # pane
- if (strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") !== false) {
-
- print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Firefox integration')."\">";
-
- print_notice(__('This Tiny Tiny RSS site can be used as a Firefox Feed Reader by clicking the link below.'));
-
- print "<p>";
-
- print "<button onclick='window.navigator.registerContentHandler(" .
- "\"application/vnd.mozilla.maybe.feed\", " .
- "\"" . $this->subscribe_to_feed_url() . "\", " . " \"Tiny Tiny RSS\")'>" .
- __('Click here to register this site as a feed reader.') .
- "</button>";
-
- print "</p>";
-
- print "</div>"; # pane
- }
-
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Published & shared articles / Generated feeds')."\">";
print "<p>" . __('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.') . "</p>";