1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-28 12:10:52 +02:00

fix firefox register pane, only show in firefox

This commit is contained in:
Andrew Dolgov 2010-11-17 21:41:26 +03:00
parent d69fa6d66a
commit 68313e5d29

View File

@ -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\", " .