From 9fe80bcdadfbc318c2f6e0ee1b8957b3275d0817 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Nov 2010 16:11:14 +0300 Subject: experimental display of labelColorIndicators in FeedTree --- functions.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index a4e431c02..eb64f51f9 100644 --- a/functions.php +++ b/functions.php @@ -4232,9 +4232,13 @@ $label_id = -$line['id'] - 11; $count = getFeedUnread($link, $label_id); - - array_push($cat['items'], feedlist_init_feed($link, $label_id, - false, $count)); + + $feed = feedlist_init_feed($link, $label_id, false, $count); + + $feed['fg_color'] = $line['fg_color']; + $feed['bg_color'] = $line['bg_color']; + + array_push($cat['items'], $feed); } if ($enable_cats) { -- cgit v1.2.3