diff options
author | Andrew Dolgov <[email protected]> | 2013-04-15 15:17:12 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-15 15:17:12 +0400 |
commit | 63c323f73610d81216801d1023dca724cfd32699 (patch) | |
tree | c71d5093059b664268f8d778a3f61b41d1bd00cd /classes/feeds.php | |
parent | 687a4f59c8d8be091b732ae6714fbdc140169d47 (diff) |
only enable colored favicons in vfeeds; fix RGB triplet packing
Diffstat (limited to 'classes/feeds.php')
-rw-r--r-- | classes/feeds.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 64d1d8786..22c3497d4 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -529,8 +529,8 @@ class Feeds extends Handler_Protected { id=\"RROW-$id\" $mouseover_attrs'>"; //setting feed headline background color, needs to change text color based on dark/light - $favColor = explode("|", $line['favicon_avg_color']); - $reply['content'] .= "<div class=\"cdmHeader\" style=\"background-color: rgb($favColor[0], $favColor[1], $favColor[2]);\">"; + $fav_color = $line['favicon_avg_color']; + $reply['content'] .= "<div class=\"cdmHeader\" style=\"background-color: $fav_color;\">"; $reply['content'] .= "<div style=\"vertical-align : middle\">"; $reply['content'] .= "<input dojoType=\"dijit.form.CheckBox\" |