]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-feeds: make published and firefox integration links more visible
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 11 Sep 2008 07:01:34 +0000 (08:01 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 11 Sep 2008 07:01:34 +0000 (08:01 +0100)
modules/pref-feeds.php
tt-rss.css

index f4094241ea487b1b80f6fdaf9bb17e9b8f52c036..9548a2fa28ed0649df54b897862f5c776bf2256d 100644 (file)
                                        }
 
                                        if ($qpart) {
-                                               print(
+                                               db_query($link,
                                                        "UPDATE ttrss_feeds SET $qpart WHERE id IN ($feed_ids)
                                                        AND owner_uid = " . $_SESSION["uid"]);
                                                print "<br/>";
                print "<h3>" . __("Firefox Integration") . "</h3>";
                 
                 print "<p>" . __('This Tiny Tiny RSS site can be used as a Firefox Feed Reader by clicking the link below.');
-               print "</p><p> <a class='visibleLink' href='javascript:window.navigator.registerContentHandler(" .
+               print "</p><p> <a class='visibleLinkB' href='javascript:window.navigator.registerContentHandler(" .
                       "\"application/vnd.mozilla.maybe.feed\", " .
                       "\"" . add_feed_url() . "\", " . " \"Tiny Tiny RSS\")'>" .
                       __('Click here to register this site as a feed reader.') . "</a></p>";
 
                $url_path = article_publish_url($link);
 
-               print "<p><a class=\"visibleLink\" id=\"pubGenAddress\" target=\"_blank\" href=\"$url_path\">Link to published articles feed.</a></p>";         
+               print "<p><a class=\"visibleLinkB\" id=\"pubGenAddress\" target=\"_blank\" href=\"$url_path\">Link to published articles feed.</a></p>";                
 
                print "<p><input type=\"submit\" onclick=\"return pubRegenKey()\" class=\"button\"
                        value=\"".__('Generate another link')."\">";
index 1f99a66c8ff3007099175e87944e62fe3708237b..62ca4697aaced3b56be7be17094a9e241d44c6d6 100644 (file)
@@ -1907,6 +1907,16 @@ a.visibleLink {
 
 }
 
+a.visibleLinkB {
+       color : #4684ff;
+       border : 1px solid #4684ff;
+       padding : 2px;
+}
+
+a.visibleLinkB:hover {
+       background-color : #ecf4ff;
+}
+
 table.headlinesList tr.feedTitle td a, div.cdmFeedTitle a {
        color : #4684ff;
 }