pref-feeds: make published and firefox integration links more visible

This commit is contained in:
Andrew Dolgov 2008-09-11 08:01:34 +01:00
parent cd935c422f
commit cff7a3a255
2 changed files with 13 additions and 3 deletions

View File

@ -674,7 +674,7 @@
} }
if ($qpart) { if ($qpart) {
print( db_query($link,
"UPDATE ttrss_feeds SET $qpart WHERE id IN ($feed_ids) "UPDATE ttrss_feeds SET $qpart WHERE id IN ($feed_ids)
AND owner_uid = " . $_SESSION["uid"]); AND owner_uid = " . $_SESSION["uid"]);
print "<br/>"; print "<br/>";
@ -1389,7 +1389,7 @@
print "<h3>" . __("Firefox Integration") . "</h3>"; 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>" . __('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\", " . "\"application/vnd.mozilla.maybe.feed\", " .
"\"" . add_feed_url() . "\", " . " \"Tiny Tiny RSS\")'>" . "\"" . add_feed_url() . "\", " . " \"Tiny Tiny RSS\")'>" .
__('Click here to register this site as a feed reader.') . "</a></p>"; __('Click here to register this site as a feed reader.') . "</a></p>";
@ -1405,7 +1405,7 @@
$url_path = article_publish_url($link); $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\" print "<p><input type=\"submit\" onclick=\"return pubRegenKey()\" class=\"button\"
value=\"".__('Generate another link')."\">"; value=\"".__('Generate another link')."\">";

View 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 { table.headlinesList tr.feedTitle td a, div.cdmFeedTitle a {
color : #4684ff; color : #4684ff;
} }