summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-31 01:55:33 +0100
committerAndrew Dolgov <[email protected]>2007-08-31 01:55:33 +0100
commit755a43eefaea639d27cdf30dd3cf765f2a74a15c (patch)
tree6f9049ed59f76fda0b98eb40a27b8ca2aea47adf /modules
parent5fe7767c0ea24d98abc8866cdc9a1f268c083d75 (diff)
add patch to integrate better with firefox (closes #148)
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 25cbf707a..6df9804b2 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1035,6 +1035,15 @@
value=\"".__('Export OPML')."\">";
+ print "<h3>" . __("Firefox Integration") . "</h3>";
+
+ print "<p>" . __('This Tiny Tiny RSS site can be used as a Firefox Feed Reader by clicking the link below.');
+ print "</p><p class=\"small\"> <a href='javascript:window.navigator.registerContentHandler(" .
+ "\"application/vnd.mozilla.maybe.feed\", " .
+ "\"" . add_feed_url() . "\", " . " \"Tiny Tiny RSS\")'>" .
+ __('Click here to register this site as a feed reader.') . "</a></p>";
+
+
print "<h3>".__("Published articles")."</h3>";
if (!get_pref($link, "_PREFS_PUBLISH_KEY")) {