summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
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";
}