diff options
author | Andrew Dolgov <[email protected]> | 2009-01-19 05:01:26 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-19 05:01:26 +0100 |
commit | a043ad2929b7da02cccb2869c130e1b1336b4f3b (patch) | |
tree | 221b11a50e41d5b35dc12de215ec4d31565d7175 /mobile/functions.php | |
parent | e5a65533fd177d502216379885153f033896a5e0 (diff) |
mobile: show all articles feed
Diffstat (limited to 'mobile/functions.php')
-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 db8e2947b..b5148bad8 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -34,6 +34,15 @@ print "<li class=\"feedCatHolder\"><ul class=\"feedCatList\">"; } + $num_total = getFeedUnread($link, -4); + + $class = "virt"; + + if ($num_total > 0) $class .= "Unread"; + + printMobileFeedEntry(-4, $class, __("All articles"), $num_total, + "../images/fresh.png", $link); + $num_fresh = getFeedUnread($link, -3); $class = "virt"; |