diff options
author | Andrew Dolgov <[email protected]> | 2010-11-17 21:41:26 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-17 21:41:26 +0300 |
commit | 68313e5d29b9262a5669283f63806c978e2b713a (patch) | |
tree | ec5cd16f8cddabb515c7c57f702ce8fac6510d68 | |
parent | d69fa6d66afc03115682840e71619914449a2abc (diff) |
fix firefox register pane, only show in firefox
-rw-r--r-- | modules/pref-feeds.php | 4 |
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\", " . |