From: Andrew Dolgov Date: Wed, 5 Dec 2007 06:24:48 +0000 (+0100) Subject: mobile: display Published feed X-Git-Tag: 1.2.18~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=85233b8ea0b065c96a883635efa80152347523de;p=tt-rss.git mobile: display Published feed --- diff --git a/mobile/functions.php b/mobile/functions.php index 07a7544d..3d67f4a2 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -40,7 +40,7 @@ if ($num_fresh > 0) $class .= "Unread"; - printMobileFeedEntry(-3, $class, "Fresh articles", $num_fresh, + printMobileFeedEntry(-3, $class, __("Fresh articles"), $num_fresh, "../images/fresh.png", $link); $num_starred = getFeedUnread($link, -1); @@ -49,9 +49,18 @@ if ($num_starred > 0) $class .= "Unread"; - printMobileFeedEntry(-1, $class, "Starred articles", $num_starred, + printMobileFeedEntry(-1, $class, __("Starred articles"), $num_starred, "../images/mark_set.png", $link); + $class = "virt"; + + $num_published = getFeedUnread($link, -2); + + if ($num_published > 0) $class .= "Unread"; + + printMobileFeedEntry(-2, $class, __("Published articles"), $num_published, + "../images/pub_set.png", $link); + if (get_pref($link, 'ENABLE_FEED_CATS')) { print ""; }