mobile: add fresh feed
This commit is contained in:
parent
c47938f805
commit
a10d293c44
1 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,15 @@
|
|||
print "<li class=\"feedCatHolder\"><ul class=\"feedCatList\">";
|
||||
}
|
||||
|
||||
$num_fresh = getFeedUnread($link, -3);
|
||||
|
||||
$class = "virt";
|
||||
|
||||
if ($num_fresh > 0) $class .= "Unread";
|
||||
|
||||
printMobileFeedEntry(-3, $class, "Fresh articles", $num_fresh,
|
||||
"../images/fresh.png", $link);
|
||||
|
||||
$num_starred = getFeedUnread($link, -1);
|
||||
|
||||
$class = "virt";
|
||||
|
|
Loading…
Reference in a new issue