]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix firefox register pane, only show in firefox
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 17 Nov 2010 18:41:26 +0000 (21:41 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 17 Nov 2010 18:41:26 +0000 (21:41 +0300)
modules/pref-feeds.php

index c071ad38fd7a62c7d3c0bacc3abe1a08979a7137..f5afbb3e102db3fd86424f91dc9df0d0bf80f879 100644 (file)
 
                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\", " .