diff options
-rw-r--r-- | mobile/functions.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile/functions.php b/mobile/functions.php index a9a4887d4..df2abcf87 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -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"; |