mobile: display Published feed

This commit is contained in:
Andrew Dolgov 2007-12-05 07:24:48 +01:00
parent e5e9b8904f
commit 85233b8ea0
1 changed files with 11 additions and 2 deletions

View File

@ -40,7 +40,7 @@
if ($num_fresh > 0) $class .= "Unread"; if ($num_fresh > 0) $class .= "Unread";
printMobileFeedEntry(-3, $class, "Fresh articles", $num_fresh, printMobileFeedEntry(-3, $class, __("Fresh articles"), $num_fresh,
"../images/fresh.png", $link); "../images/fresh.png", $link);
$num_starred = getFeedUnread($link, -1); $num_starred = getFeedUnread($link, -1);
@ -49,9 +49,18 @@
if ($num_starred > 0) $class .= "Unread"; 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); "../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')) { if (get_pref($link, 'ENABLE_FEED_CATS')) {
print "</ul>"; print "</ul>";
} }