1
0
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:
Andrew Dolgov
2009-12-21 13:42:02 +03:00
parent 37882ef392
commit af88c48a3a
2 changed files with 37 additions and 7 deletions

View File

@@ -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");