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
1 changed files with 2 additions and 2 deletions

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