mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
mobile: misc fixes; add getFeedIcon()
This commit is contained in:
@@ -2940,6 +2940,26 @@
|
||||
|
||||
}
|
||||
|
||||
function getFeedIcon($id) {
|
||||
switch ($id) {
|
||||
case -1:
|
||||
return "images/mark_set.gif";
|
||||
break;
|
||||
case -2:
|
||||
return "images/pub_set.gif";
|
||||
break;
|
||||
case -3:
|
||||
return "images/fresh.png";
|
||||
break;
|
||||
case -4:
|
||||
return "images/tag.png";
|
||||
break;
|
||||
default:
|
||||
return ICONS_URL . "/$id.ico";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
function getFeedTitle($link, $id) {
|
||||
if ($id == -1) {
|
||||
return __("Starred articles");
|
||||
|
||||
Reference in New Issue
Block a user