]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile: show all articles feed
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 04:01:26 +0000 (05:01 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 04:01:26 +0000 (05:01 +0100)
mobile/functions.php

index db8e2947b199aac2b43f14b2b565f6624d017ce8..b5148bad8ed22dbf962dcedbd8d64af05914c394 100644 (file)
                                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";