fix firefox register pane, only show in firefox
This commit is contained in:
parent
d69fa6d66a
commit
68313e5d29
1 changed files with 2 additions and 2 deletions
|
@ -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\", " .
|
||||
|
|
Loading…
Reference in a new issue