From 1cce3aca13c360fdec6832ac5df30f9472a54360 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 11 Aug 2008 08:09:25 +0100 Subject: tweaked score icons --- functions.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index c70bdcc89..f2800552f 100644 --- a/functions.php +++ b/functions.php @@ -5647,10 +5647,14 @@ } function get_score_pic($score) { - if ($score > 0) { + if ($score > 100) { return "score_high.png"; - } else if ($score < 0) { + } else if ($score > 0) { + return "score_half_high.png"; + } else if ($score < -100) { return "score_low.png"; + } else if ($score < 0) { + return "score_half_low.png"; } else { return "score_neutral.png"; } -- cgit v1.2.3-54-g00ecf