mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 03:39:13 +00:00
fix firefox register pane, only show in firefox
This commit is contained in:
@@ -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\", " .
|
||||
|
||||
Reference in New Issue
Block a user