mobile: add fresh feed

This commit is contained in:
Andrew Dolgov 2007-08-26 11:57:08 +01:00
parent c47938f805
commit a10d293c44
1 changed files with 9 additions and 0 deletions

View File

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