1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 02:11:29 +00:00

implement additional counter mode for virtual feeds when there's 0 unread articles

This commit is contained in:
Andrew Dolgov
2013-05-16 01:08:04 +04:00
parent 96ce71f35f
commit c594eca0de
5 changed files with 33 additions and 5 deletions

View File

@@ -1459,8 +1459,14 @@
$count = getFeedUnread($i);
if ($i == 0 || $i == -1 || $i == -2)
$auxctr = getFeedArticles($i, false);
else
$auxctr = 0;
$cv = array("id" => $i,
"counter" => (int) $count);
"counter" => (int) $count,
"auxcounter" => $auxctr);
// if (get_pref('EXTENDED_FEEDLIST'))
// $cv["xmsg"] = getFeedArticles($i)." ".__("total");