summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-17 21:41:26 +0300
committerAndrew Dolgov <[email protected]>2010-11-17 21:41:26 +0300
commit68313e5d29b9262a5669283f63806c978e2b713a (patch)
treeec5cd16f8cddabb515c7c57f702ce8fac6510d68 /modules
parentd69fa6d66afc03115682840e71619914449a2abc (diff)
fix firefox register pane, only show in firefox
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index c071ad38f..f5afbb3e1 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1320,13 +1320,13 @@
print "</div>"; # pane
- if (true || strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") !== false) {
+ if (strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") !== false) {
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Firefox integration')."\">";
print "<p>" . __('This Tiny Tiny RSS site can be used as a Firefox Feed Reader by clicking the link below.') . "</p>";
- print "<p";
+ print "<p>";
print "<button onclick='window.navigator.registerContentHandler(" .
"\"application/vnd.mozilla.maybe.feed\", " .