summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-19 05:01:26 +0100
committerAndrew Dolgov <[email protected]>2009-01-19 05:01:26 +0100
commita043ad2929b7da02cccb2869c130e1b1336b4f3b (patch)
tree221b11a50e41d5b35dc12de215ec4d31565d7175 /mobile
parente5a65533fd177d502216379885153f033896a5e0 (diff)
mobile: show all articles feed
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php9
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";