From: Andrew Dolgov Date: Mon, 5 May 2008 06:28:00 +0000 (+0100) Subject: tweak score display (2) X-Git-Tag: 1.2.23-final~147 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e7002fc3fa723ac757d14371a6df2dac024e6bfb;p=tt-rss.git tweak score display (2) --- diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 031e2a24..18c78da6 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -315,13 +315,7 @@ $line["action_param"] = "—"; } else if ($line["action_name"] == "score") { - if ($line["action_param"] > 100) { - $score_pic = "score_high.png"; - } else if ($line["action_param"] < -100) { - $score_pic = "score_low.png"; - } else { - $score_pic = "score_neutral.png"; - } + $score_pic = get_score_pic($line["action_param"]); $score_pic = "";