summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-21 16:11:14 +0300
committerAndrew Dolgov <[email protected]>2010-11-21 16:11:14 +0300
commit9fe80bcdadfbc318c2f6e0ee1b8957b3275d0817 (patch)
treea614277cd636f12bd3267f05850a893fce444aa1 /functions.php
parentf69fcbd9ab9f0c19c061566b07754a096463cb35 (diff)
experimental display of labelColorIndicators in FeedTree
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php10
1 files changed, 7 insertions, 3 deletions
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) {