diff options
author | Andrew Dolgov <[email protected]> | 2008-08-11 08:09:25 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-08-11 08:09:25 +0100 |
commit | 1cce3aca13c360fdec6832ac5df30f9472a54360 (patch) | |
tree | 705247b8f461de6cd12229980155f54356b21475 /functions.php | |
parent | b3296d360e18c2747381ff1c0e4fef8e263f0586 (diff) |
tweaked score icons
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 8 |
1 files changed, 6 insertions, 2 deletions
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"; } |